/* ============================================================
   BWD Theme — Main Stylesheet
   ============================================================ */

:root {
    --dark:      #222222;
    --white:     #ffffff;
    --accent:    #00BDFF;
    --accent-d:  #009fd9;
    --light:     #e6f8ff; /* light tint of the accent (#00BDFF) */
    --text:      #333333;
    --muted:     #666666;
    --border:    #e5e7eb;
    --font:      'Poppins', sans-serif;
    --max-w:     1160px;
    --r:         6px;
    --r-lg:      14px;
    --ease:      0.25s ease;
    --shadow:    0 2px 16px rgba(0,0,0,0.08);
    --shadow-md: 0 6px 32px rgba(0,0,0,0.12);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
/* Anchored sections land below the fixed header */
section[id] { scroll-margin-top: 90px; }

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

/* ── Layout ────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section        { padding: 5rem 0; }
.section--light { background: var(--light); }
.section--dark  { background: var(--dark); }

.section__header { max-width: 600px; margin-bottom: 3rem; }
.section__header--center { text-align: center; margin: 0 auto 3rem; }
.section__header--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 100%;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    color: var(--dark);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem);  font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { line-height: 1.75; }

.section-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    display: block;
    margin-bottom: 0.65rem;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--r);
    border: 2px solid transparent;
    transition: all var(--ease);
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
}
.btn--lg   { padding: 1rem 2.25rem; font-size: 0.95rem; }
.btn--sm   { padding: 0.6rem 1.25rem; font-size: 0.8rem; }

.btn--primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.btn--primary:hover {
    background: var(--accent-d);
    border-color: var(--accent-d);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,189,255,0.3);
}
.btn--outline {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}
.btn--outline:hover { background: var(--accent); color: var(--white); }
.btn--dark {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}
.btn--dark:hover { background: #3a3a3a; border-color: #3a3a3a; }
.btn--white {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}
.btn--white:hover { background: transparent; color: var(--white); }
.btn--outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* ── HEADER ────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    background: var(--dark);
    transition: box-shadow var(--ease);
}
.site-header.is-scrolled {
    box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.header__logo { display: flex; align-items: center; }
.header__logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
}
.header__logo-text span { color: var(--accent); }
.header__logo img { height: 36px; width: auto; }

/* Desktop nav */
.header__nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}
nav .nav__list {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}
nav .nav__list a,
nav .nav__list .nav__link {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    transition: color var(--ease);
    position: relative;
    padding: 0.25rem 0;
}
nav .nav__list a::after,
nav .nav__list .nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width var(--ease);
}
nav .nav__list a:hover,
nav .nav__list .nav__link:hover { color: var(--white); }
nav .nav__list a:hover::after,
nav .nav__list .nav__link:hover::after { width: 100%; }
.nav__cta { margin-left: 0.75rem; }

/* Hamburger */
.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 201;
}
.nav__hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--ease);
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.nav__mobile {
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--dark);
    z-index: 199;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    padding: 2rem 1.5rem 3rem;
}
.nav__mobile.is-open { transform: translateX(0); }
.nav__mobile-list    { border-top: 1px solid rgba(255,255,255,0.08); }
.nav__mobile-list li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav__mobile-list a,
.nav__mobile-list .nav__mobile-link {
    display: block;
    padding: 1.1rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    transition: color var(--ease);
}
.nav__mobile-list a:hover,
.nav__mobile-list .nav__mobile-link:hover { color: var(--accent); }
.nav__mobile-cta {
    display: block;
    text-align: center;
    margin-top: 2rem;
    width: 100%;
}

.nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 198;
}
.nav__overlay.is-open { display: block; }

@media (max-width: 900px) {
    nav .nav__list { display: none; }
    .nav__cta { display: none; }
    .nav__hamburger { display: flex; }
}

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
    padding: 8rem 0 5rem;
    background: var(--dark);
}
.hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}
/* Image on top on mobile */
.hero--has-image .hero__image { order: -1; }

.hero--centered .hero__content {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}
.hero--centered .hero__actions { justify-content: center; }
.hero--centered .hero__sub { max-width: 600px; margin-left: auto; margin-right: auto; }

.hero__eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}
.hero__heading {
    margin-bottom: 1.25rem;
    color: var(--white);
}
.hero__heading em { font-style: normal; color: var(--accent); }
.hero__sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 500px;
}
.hero__actions {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
    align-items: center;
}
.hero__image img {
    width: 100%;
    height: auto;
    border-radius: var(--r-lg);
}

@media (min-width: 768px) {
    .hero--has-image .hero__inner {
        grid-template-columns: 1fr 1.3fr;
        gap: 4rem;
    }
    .hero--has-image .hero__image { order: 0; }
    .hero { padding: 9rem 0 6rem; }
}

/* ── SERVICES ──────────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.service-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.25rem 2rem;
    transition: all var(--ease);
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.service-card__num {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.service-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}
.service-card__desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 1.75rem;
    flex: 1;
}
.service-card__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap var(--ease);
    align-self: flex-start;
}
.service-card__link:hover { gap: 0.6rem; }

@media (min-width: 700px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── PORTFOLIO SLIDER ──────────────────────────────────────── */
.portfolio-slider-section {
    background: var(--dark);
    padding: 5.5rem 0;
    overflow: hidden;
}
.portfolio-slider-section .section-label {
    color: rgba(255,255,255,0.45);
}
.portfolio-slider-section h2 { color: var(--white); }

.portfolio-slider   { margin-top: 2.5rem; }
.portfolio-slides   { position: relative; }
.portfolio-slide    { display: none; }
.portfolio-slide.is-active { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }

.portfolio-slide__num {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.portfolio-slide__client {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 0.75rem;
    letter-spacing: 0.04em;
}
.portfolio-slide__title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}
.portfolio-slide__desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 480px;
}
.portfolio-slide__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.portfolio-slide__tag {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.12);
}
.portfolio-slide__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.portfolio-slide__image {
    border-radius: var(--r-lg);
    overflow: hidden;
}
.portfolio-slide__image img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}
.slider-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--ease);
    flex-shrink: 0;
}
.slider-btn:hover { border-color: var(--accent); color: var(--accent); }
.slider-counter {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    min-width: 50px;
    font-variant-numeric: tabular-nums;
}
.slider-all-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    margin-left: auto;
    transition: color var(--ease);
}
.slider-all-link:hover { color: var(--accent); }

@media (min-width: 900px) {
    .portfolio-slide.is-active {
        grid-template-columns: 5fr 7fr;
        gap: 4rem;
    }
}

/* ── ABOUT (home) ──────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
.about-content h2 { margin-bottom: 1.25rem; }
.about-image img {
    width: 100%;
    border-radius: var(--r-lg);
    object-fit: cover;
    aspect-ratio: 4/3;
}
@media (min-width: 768px) {
    .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

/* ── BLOG CARDS ────────────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.blog-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all var(--ease);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    border-color: #d0d0d0;
}
.blog-card__img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-card__img img { transform: scale(1.04); }
.blog-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__date {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}
.blog-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 0.75rem;
    flex: 1;
}
.blog-card:hover .blog-card__title { color: var(--accent); }
.blog-card__excerpt {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.65;
}
@media (min-width: 640px)  { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── CTA SECTION ───────────────────────────────────────────── */
.cta-section {
    background: var(--dark);
    padding: 5.5rem 0;
    text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,0.65); max-width: 500px; margin: 0 auto 2.5rem; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-list { border-top: 1.5px solid var(--border); }
.faq-item { border-bottom: 1.5px solid var(--border); }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.35rem 0;
    font-size: 0.975rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    gap: 1rem;
    cursor: pointer;
    transition: color var(--ease);
}
.faq-question:hover { color: var(--accent); }
.faq-question svg {
    flex-shrink: 0;
    color: var(--accent);
    transition: transform var(--ease);
}
.faq-item.is-open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
    padding: 0 0 1.5rem;
    color: var(--muted);
    font-size: 0.925rem;
    line-height: 1.75;
}

/* ── SERVICE PAGE ──────────────────────────────────────────── */
.feature-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.feature-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.feature-icon {
    width: 44px; height: 44px;
    border-radius: var(--r);
    background: rgba(0,189,255,0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}
.feature-item__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.35rem;
}
.feature-item__desc { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }
@media (min-width: 768px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    counter-reset: steps;
}
.process-step { position: relative; padding-left: 4.5rem; }
.process-step__num {
    position: absolute;
    left: 0; top: 0;
    width: 3rem; height: 3rem;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.process-step__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.process-step__desc  { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }
@media (min-width: 768px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .process-steps { grid-template-columns: repeat(4, 1fr); } }

/* ── PORTFOLIO ARCHIVE ─────────────────────────────────────── */
.page-banner {
    background: var(--dark);
    padding: 7.5rem 0 3.5rem;
}
.page-banner .section-label { color: rgba(255,255,255,0.45); }
.page-banner h1 { color: var(--white); }

.portfolio-list { display: flex; flex-direction: column; gap: 4rem; }
.portfolio-list-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
.portfolio-list-item__img {
    border-radius: var(--r-lg);
    overflow: hidden;
    display: block;
}
.portfolio-list-item__img img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.portfolio-list-item__img:hover img { transform: scale(1.03); }
.portfolio-list-item__client {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.portfolio-list-item__title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.portfolio-list-item__title a:hover { color: var(--accent); }
.portfolio-list-item__desc { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tech-tag {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    background: var(--light);
    color: var(--muted);
    border: 1px solid var(--border);
}
@media (min-width: 900px) {
    .portfolio-list-item { grid-template-columns: 1fr 1fr; gap: 4rem; }
    .portfolio-list-item:nth-child(even) .portfolio-list-item__img { order: 1; }
}

/* ── BLOG POST ─────────────────────────────────────────────── */
.post-hero {
    background: var(--dark);
    padding: 8rem 0 4rem;
}
.post-meta-top {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.back-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    transition: color var(--ease);
}
.back-link:hover { color: var(--accent); }
.post-meta-top__date {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}
.post-hero__title {
    color: var(--white);
    max-width: 780px;
    font-size: clamp(2rem, 4vw, 3rem);
}
.post-hero__excerpt {
    margin-top: 1.25rem;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    max-width: 680px;
    line-height: 1.7;
}
.post-featured-img { padding: 0; }
.post-featured-img__img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: top;
    display: block;
}
.post-body { max-width: 720px; }
.post-footer { margin-top: 3rem; padding-top: 2rem; border-top: 1.5px solid var(--border); }
.post-footer--split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ── SINGLE PORTFOLIO PROJECT ──────────────────────────────── */
.project-featured-img { margin-bottom: 2.5rem; }
.project-featured-img__img {
    width: 100%;
    height: auto;
    border-radius: var(--r-lg);
    display: block;
}
.project-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2.5rem;
    background: var(--light);
    border-radius: var(--r-lg);
    padding: 1.75rem 2rem;
    margin-bottom: 3rem;
}
.project-meta__item--cta { margin-left: auto; }
.project-meta__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.35rem;
}
.project-meta__value {
    font-weight: 600;
    color: var(--dark);
}
.project-gallery { margin-top: 3.5rem; }
.project-gallery__heading { margin-bottom: 1.5rem; }
.project-gallery__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
.project-gallery__item img {
    width: 100%;
    height: auto;
    border-radius: var(--r-lg);
    display: block;
    transition: opacity var(--ease);
}
.project-gallery__item:hover img { opacity: 0.85; }
@media (min-width: 700px) {
    .project-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── PROSE ─────────────────────────────────────────────────── */
.prose h2 { margin: 2.5rem 0 1rem; font-size: 1.6rem; }
.prose h3 { margin: 2rem 0 0.75rem; font-size: 1.25rem; }
.prose h4 { margin: 1.5rem 0 0.5rem; }
.prose p  { margin-bottom: 1.25rem; color: var(--muted); font-size: 0.975rem; }
.prose ul, .prose ol { margin-bottom: 1.25rem; }
.prose li { margin-bottom: 0.65rem; color: var(--muted); font-size: 0.975rem; }
.prose ul { padding-left: 0; }
.prose ul li {
    list-style: none;
    position: relative;
    padding-left: 1.9rem;
}
.prose ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.16em;
    width: 1.15em;
    height: 1.15em;
    border-radius: 50%;
    background-color: rgba(0, 189, 255, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300BDFF' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
}
.prose ol { padding-left: 1.5rem; }
.prose ol li { list-style: decimal; }
.prose ol li::marker { color: var(--accent); font-weight: 700; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose strong { color: var(--dark); }
.prose--wide { max-width: 840px; }

/* ── FOOTER ────────────────────────────────────────────────── */
.site-footer {
    background: var(--dark);
    padding: 4.5rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer__brand-logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}
.footer__brand-logo span { color: var(--accent); }
.footer__brand p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    max-width: 280px;
}
.footer__col-title {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.1rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    transition: color var(--ease);
}
.footer__links a:hover { color: var(--white); }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
}
.footer__social { display: flex; gap: 1rem; align-items: center; }
.footer__social a { color: rgba(255,255,255,0.4); transition: color var(--ease); }
.footer__social a:hover { color: var(--accent); }

@media (min-width: 640px)  { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 2.5fr 1fr 1fr 1fr; } }

/* ── 3-COLUMN SECTION ──────────────────────────────────────── */
.three-col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.three-col-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.25rem 2rem;
    transition: all var(--ease);
}
.three-col-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.three-col-card__icon {
    width: 56px; height: 56px;
    border-radius: var(--r);
    background: rgba(0,189,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.three-col-card__icon img {
    width: 32px; height: 32px;
    object-fit: contain;
}
.three-col-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.6rem;
}
.three-col-card__text {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.7;
}
@media (min-width: 800px) {
    .three-col-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── 2-COLUMN IMAGE/TEXT SECTION ───────────────────────────── */
.two-col-rows {
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
}
.two-col-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}
/* Image on top when stacked on mobile */
.two-col-block__image { order: -1; }
.two-col-block__image img {
    width: 100%;
    height: auto;
    border-radius: var(--r-lg);
}
.two-col-block__heading { margin-bottom: 1rem; }
@media (min-width: 800px) {
    .two-col-block {
        grid-template-columns: 1.2fr 1fr; /* image column gets the bigger share */
        gap: 4rem;
    }
    .two-col-block__image { order: 0; }
    .two-col-block--img-right { grid-template-columns: 1fr 1.2fr; }
    .two-col-block--img-right .two-col-block__image  { order: 2; }
    .two-col-block--img-right .two-col-block__content { order: 1; }
}

/* ── 1-COLUMN CENTERED SECTION ─────────────────────────────── */
.one-col-rows {
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
}
.one-col-block {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.one-col-block__heading { margin-bottom: 1.25rem; }
.one-col-block .btn { margin-top: 1.75rem; }

/* ── TESTIMONIALS ──────────────────────────────────────────── */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: stretch;
}
@media (min-width: 800px) {
    .testimonial-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
.testimonial-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2rem;
    margin: 0;
}
.testimonial-card__mark {
    font-size: 3rem;
    line-height: 1;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.testimonial-card__quote {
    flex: 1;
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.75;
}
.testimonial-card__who {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.testimonial-card__photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-card__name {
    display: block;
    font-weight: 700;
    color: var(--dark);
    font-size: 0.95rem;
}
.testimonial-card__role {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.1rem;
}

/* ── PRICING TABLE ─────────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: stretch;
}
@media (min-width: 800px) {
    .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.25rem 2rem;
}
.pricing-card--featured {
    border: 2px solid var(--accent);
}
.pricing-card__badge {
    position: absolute;
    top: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.9rem;
    border-radius: 99px;
    white-space: nowrap;
}
.pricing-card__name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}
.pricing-card__price {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 1.5rem;
}
.pricing-card__suffix {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    margin-left: 0.25rem;
}
.pricing-card__features {
    flex: 1;
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.pricing-card__features li {
    position: relative;
    padding-left: 1.9rem;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.55;
}
.pricing-card__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 1.15em;
    height: 1.15em;
    border-radius: 50%;
    background-color: rgba(0, 189, 255, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300BDFF' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
}
.pricing-card .btn { width: 100%; text-align: center; justify-content: center; }

/* ── CONTACT PAGE ──────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: start;
}
@media (min-width: 900px) {
    .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 5rem; }
}
.contact-info__items {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-info__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.3rem;
}
.contact-info__value {
    font-weight: 600;
    color: var(--dark);
}
a.contact-info__value:hover { color: var(--accent); }

.contact-form {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.25rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 1.25rem;
}
@media (min-width: 600px) {
    .form-row { grid-template-columns: 1fr 1fr; }
}
.form-field { margin-bottom: 1.4rem; }
.form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.45rem;
}
.form-field .req { color: var(--accent); }
.form-field .optional { color: var(--muted); font-weight: 400; }
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--white);
    transition: border-color var(--ease), box-shadow var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 189, 255, 0.15);
}
.form-field textarea { resize: vertical; min-height: 140px; }

/* Honeypot — visually removed, still in the DOM for bots */
.bwd-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    overflow: hidden;
}

.form-notice {
    padding: 1rem 1.4rem;
    border-radius: var(--r);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}
.form-notice--success {
    background: #e8f9f0;
    color: #157a4c;
    border: 1.5px solid #b5ecd2;
}
.form-notice--error {
    background: #fdeeee;
    color: #b03434;
    border: 1.5px solid #f5c6c6;
}

/* ── UTILITIES ─────────────────────────────────────────────── */
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.no-results { color: var(--muted); font-size: 0.95rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Pagination */
.nav-links { display: flex; gap: 0.5rem; align-items: center; margin-top: 3rem; }
.nav-links a, .nav-links span {
    padding: 0.5rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--ease);
}
.nav-links a:hover { border-color: var(--accent); color: var(--accent); }
.nav-links .current { background: var(--accent); color: var(--white); border-color: var(--accent); }
