/* ========== ROOT + RESET ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #2d5a45;
    --primary-dark: #1a3a2e;
    --accent: #d4a574;
    --bg: #f8f6f3;
    --text: #333;
    --muted: #666;
    --card: #fff;
}

html, body {
    height: 100%;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main { flex: 1; }

/* Utility margins */
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 24px; }
.mt-l { margin-top: 48px; }

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

/* ========== HEADER + NAV ========== */
header {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--primary-dark);
    color: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
    z-index: 9999;
}

.nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: .8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    gap: .6rem;
    align-items: center;
}
.brand img { width: 88px; height: 88px; object-fit: contain; }
.brand .name { font-weight: 800; letter-spacing: .2px; color: var(--accent); }

.links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}
.links a {
    color: #fff;
    opacity: .95;
    transition: color .15s ease;
}
.links a:hover { color: var(--accent); }

.cta {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: none;
}

/* ========== TICKER ========== */
.ticker {
    background: var(--accent);
    color: var(--primary-dark);
    overflow: hidden;
    white-space: nowrap;
    display: block;
    padding: .2em 0;
}
.ticker span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 28s linear infinite;
    font-weight: 600;
    font-size: .95rem;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== HERO (home only) ========== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 120px 1rem 88px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero .container { max-width: 900px; margin: 0 auto; position: relative; }
.hero h1 { font-size: clamp(28px, 4.5vw, 44px); margin-bottom: 10px; }
.hero p { font-size: clamp(16px, 2.3vw, 20px); opacity: .95; margin-bottom: 22px; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(212,165,116,.6); }

/* ========== SECTION LAYOUTS ========== */
section { padding: 72px 1rem; }
h2 {
    font-size: clamp(22px, 3.4vw, 36px);
    color: var(--primary);
    text-align: center;
    margin-bottom: 28px;
}
.sub {
    text-align: center;
    color: var(--muted);
    max-width: 760px;
    margin: 0 auto 28px;
}

/* ========== SERVICES GRID ========== */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(12, 1fr); }
.card {
    background: var(--card);
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 8px 26px rgba(0,0,0,.08);
    transition: .2s transform, .2s box-shadow;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.12); }
.icon { font-size: 28px; color: var(--primary); margin-bottom: 10px; }
.card h3 { color: var(--primary); font-size: 1.15rem; margin-bottom: 6px; }
.card p { color: var(--muted); }

.services .grid > .card { grid-column: span 6; }
@media (max-width:800px) { .services .grid > .card { grid-column: span 12; } }

/* ========== ABOUT SECTION ========== */
.about { background: var(--bg); }
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: center;
}
.about .ph {
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 360px;
    border-radius: 12px;
}
@media (max-width:900px) { .about-grid { grid-template-columns: 1fr; } }

/* ========== NOTES & CALLOUTS ========== */
.note {
    background: #fff7ee;
    border: 1px solid #f1e0cb;
    border-radius: 10px;
    padding: 14px;
    margin: 16px 0;
    color: #5a482f;
}
.callout {
    background: #e8f6ef;
    border: 1px solid #cfe8dc;
    border-radius: 10px;
    padding: 14px;
    margin: 16px 0;
}

/* ========== CONTACT ========== */
.contact-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr 1fr;
}
form {
    background: #fff;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
}
label {
    display: block;
    font-weight: 700;
    color: var(--primary);
    margin: 8px 0 4px;
}
input, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e7e3dc;
    border-radius: 8px;
    font-size: 1rem;
}
input:focus, textarea:focus { outline: none; border-color: var(--primary); }
textarea { min-height: 140px; resize: vertical; }
.btn {
    background: var(--primary);
    color: #fff;
    border: 0;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
}
.btn:hover { background: var(--primary-dark); }
.btn.secondary { background: #e7e3dc; color: #333; }
.btn[disabled]{ opacity:.5; cursor:not-allowed; }

.info .row { margin-bottom: 14px; }
.info strong { color: var(--primary); display: block; }

.areas {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 2px solid #eee;
}
.areas ul {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 6px;
    list-style: none;
}
.areas li::before {
    content: "✓ ";
    color: var(--primary);
    font-weight: 800;
}
@media (max-width:900px){ .contact-grid { grid-template-columns: 1fr; } }

/* ========== ARTICLES LIST PAGE ========== */
.page-hero {
    padding: 56px 0 28px;
    background: linear-gradient(135deg,var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    margin-bottom: 22px;
    text-align: center;
}
.page-hero h1 { font-size: clamp(26px,4vw,40px); margin-bottom: 6px; }
.page-hero p { opacity: .95; }

.list { display: grid; grid-template-columns: repeat(12,1fr); gap: 18px; }
.article {
    grid-column: span 6;
    background: var(--card);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 8px 26px rgba(0,0,0,.08);
    transition: .2s transform, .2s box-shadow;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.article:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.12); }
.article .thumb {
    flex: 0 0 140px;
    height: 100px;
    border-radius: 10px;
    background: #eef1ed;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.article .thumb img { width: 100%; height: 100%; object-fit: cover; }
.article .content { flex: 1 1 auto; }
.article h3 { color: var(--primary); font-size: 1.15rem; margin-bottom: 6px; }
.article p { color: var(--muted); }
.meta { font-size: .9rem; color: var(--muted); margin-bottom: 6px; }

@media (max-width:900px){
    .article { grid-column: span 12; }
    .article .thumb { flex-basis: 120px; height: 90px; }
}
@media (max-width:600px){
    .article { flex-direction: column; }
    .article .thumb { width: 100%; height: 160px; }
}

.pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 22px 0;
}
.pager .info { color: var(--muted); font-size: .95rem; }

/* ========== ARTICLE DETAIL PAGE ========== */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 1rem 48px;
}
.back-link {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--primary);
    font-weight: 600;
}
.back-link:hover { text-decoration: underline; }
.article-container h1 {
    font-size: clamp(28px,4vw,42px);
    color: var(--primary-dark);
    margin-bottom: 10px;
}
.article-container .meta {
    font-size: .95rem;
    color: var(--muted);
    margin-bottom: 24px;
}
article ul { margin-left: 20px; margin-bottom: 16px; }
.cta-box {
    background: #eef1ed;
    border: 1px solid #dfe6e1;
    border-radius: 12px;
    padding: 16px;
    margin: 24px 0;
}

/* ========== FOOTER ========== */
footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 36px 1rem;
    margin-top: 24px;
}
.foot {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}
.foot h4 { color: var(--accent); margin-bottom: 8px; }
.foot p { opacity: .9; }
.foot .social a { font-size: 20px; margin-right: 12px; }
.copy {
    text-align: center;
    opacity: .8;
    margin-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 16px;
}
@font-face {
    font-display: swap;
}
/* service detail grids (like on /services/computer-repair.html) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    margin-top: 2rem;
    justify-items: stretch;
    align-items: stretch;
}

.service-grid .card {
    text-align: left;
    padding: 1.75rem 1.5rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-grid .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.service-grid .icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: .75rem;
}

@media (min-width: 900px) {
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* ---------- SERVICE PAGE ENHANCEMENTS ---------- */

/* overall visual rhythm */
.service-section {
    padding: 80px 1rem;
    position: relative;
}
.service-section.alt {
    background: var(--bg);
}
.service-section.dark {
    background: var(--primary-dark);
    color: #fff;
}

/* hero refresh */
.hero.service-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    padding: 140px 1rem 100px;
    text-align: center;
    position: relative;
}
.hero.service-hero::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,.05), transparent);
    pointer-events: none;
}
.hero.service-hero h1 {
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 800;
    margin-bottom: 14px;
}
.hero.service-hero p {
    font-size: clamp(17px, 2.2vw, 20px);
    opacity: .95;
    max-width: 800px;
    margin: 0 auto 28px;
}

/* highlight / info blocks */
.highlight-block {
    background: #fff7ee;
    border: 1px solid #f0dfc9;
    border-left: 6px solid var(--accent);
    padding: 18px 20px;
    border-radius: 10px;
    margin: 32px 0;
    box-shadow: 0 4px 18px rgba(0,0,0,.05);
}
.highlight-block strong {
    color: var(--primary-dark);
}

/* image showcase improvements */
.image-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.image-showcase img {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
    transition: transform .3s ease, box-shadow .3s ease;
}
.image-showcase img:hover {
    transform: scale(1.03);
    box-shadow: 0 14px 26px rgba(0,0,0,.15);
}

/* alternating color sections for long reads */
.alt-section:nth-of-type(even) {
    background: var(--bg);
}

/* bullet style tweak */
ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1.2rem 0;
}
ul li {
    position: relative;
    padding-left: 1.4em;
    margin-bottom: .5rem;
}
ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* subtle section dividers */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,.1), transparent);
    margin: 60px 0;
}
.wifi-glow {
    background: radial-gradient(circle at 60% 30%, rgba(45,90,69,.15), transparent 70%);
    position: relative;
}
.wifi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.wifi-grid .card {
    background:#fff;
    border-radius:12px;
    box-shadow:0 10px 24px rgba(0,0,0,.08);
    padding:1.5rem;
    text-align:left;
    transition:.25s transform ease;
}
.wifi-grid .card:hover { transform:translateY(-6px); }
.wifi-grid .icon {
    font-size:1.8rem;
    color:var(--primary);
    margin-bottom:.75rem;
}
.checklist {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:1.2rem;
    margin-top:1.2rem;
}
.checklist-item {
    background:#eef1ed;
    border-radius:10px;
    padding:1rem 1.2rem;
    display:flex;
    align-items:flex-start;
    gap:.75rem;
    border-left:5px solid var(--accent);
}
.checklist-item i { color:var(--primary); margin-top:3px; }

.sec-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #163226 100%);
    color: #fff;
    padding: 140px 1rem 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.sec-hero::after {
    content: "";
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,.1), transparent);
    pointer-events: none;
}
.sec-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    margin-bottom: 16px;
}
.sec-hero p {
    font-size: clamp(17px, 2.2vw, 20px);
    opacity: .95;
    max-width: 800px;
    margin: 0 auto 28px;
}

.shield-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.shield-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.shield-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}
.shield-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: .75rem;
}

.backup-highlight {
    background: #fff7ee;
    border-left: 5px solid var(--accent);
    padding: 1.25rem;
    border-radius: 10px;
    margin: 2rem 0;
    color: #5a482f;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}

.security-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}
.security-check {
    background: #eef1ed;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    border-left: 5px solid var(--accent);
}
.security-check i {
    color: var(--primary);
    margin-top: 3px;
}
.biz-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #234838 100%);
    color: #fff;
    padding: 140px 1rem 100px;
    text-align: center;
    position: relative;
}
.biz-hero::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,.1), transparent);
}
.biz-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    margin-bottom: 16px;
}
.biz-hero p {
    font-size: clamp(17px, 2.2vw, 20px);
    opacity: .95;
    max-width: 820px;
    margin: 0 auto 28px;
}

.biz-section {
    padding: 80px 1rem;
}
.biz-section.alt {
    background: var(--bg);
}

.biz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.biz-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    transition: transform .25s ease, box-shadow .25s ease;
    text-align: left;
}
.biz-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}
.biz-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: .75rem;
}

.biz-callout {
    background: #e8f6ef;
    border: 1px solid #cfe8dc;
    border-radius: 10px;
    padding: 1.25rem;
    margin: 2rem 0;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
    color: var(--primary-dark);
}

.biz-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}
.biz-check {
    background: #eef1ed;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    border-left: 5px solid var(--accent);
}
.biz-check i {
    color: var(--primary);
    margin-top: 3px;
}
/* --- Dropdown Menu --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: none;
    color: #fff;
    font: inherit;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .35rem;
    transition: color .15s ease;
}
.dropbtn:hover { color: var(--accent); }

.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    border-radius: 10px;
    overflow: hidden;
    top: 100%;
    left: 0;
    z-index: 1000;
}

.dropdown-content a {
    color: var(--primary-dark);
    padding: .75rem 1rem;
    text-decoration: none;
    display: block;
    transition: background .15s ease;
}
.dropdown-content a:hover {
    background: var(--bg);
}

.dropdown:hover .dropdown-content {
    display: block;
}
/* ========= ARTICLE UX UPGRADE (scoped) ========= */

/* Small gradient hero for articles */
.article-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 54px 1rem 42px;
    margin-bottom: 8px;
}
.article-hero .container { max-width: 900px; }
.article-hero .eyebrow {
    display:inline-block; font-weight:700; letter-spacing:.4px;
    background: rgba(0,0,0,.18); padding:4px 10px; border-radius:999px; font-size:.85rem;
}
.article-hero h1 { margin: 10px 0 6px; font-size: clamp(26px, 4.2vw, 40px); color:#fff; }
.article-hero .subhead { opacity:.95; max-width: 760px; }

/* Grid layout: main + optional sidebar on desktop */
.article-wrap { max-width: 1100px; margin: 0 auto; padding: 28px 1rem 56px; }
.article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
@media (min-width: 960px) {
    .article-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items:start; }
    .article-aside { position: sticky; top: 88px; }
}

/* Prose typography (left aligned, saner rhythm) */
.prose {
    max-width: 800px;
    color: var(--text);
    line-height: 1.75;
    font-size: 1.02rem;
}
.prose p { margin: 0 0 1.1rem; }
.prose h2 {
    color: var(--primary-dark);
    font-size: clamp(22px, 3vw, 32px);
    margin: 2.2rem 0 .75rem;
    text-align: left; /* override global center for articles only */
}
.prose h3 {
    color: var(--primary);
    font-size: clamp(18px, 2.2vw, 22px);
    margin: 1.4rem 0 .4rem;
}
.prose ul, .prose ol { margin: .4rem 0 1.1rem 0; }
.prose ul li, .prose ol li { margin: .4rem 0; }
.prose strong { color: var(--primary-dark); }

/* Back link spacing tightened up */
.article-container .back-link { margin-bottom: 10px; }

/* TOC box */
.toc {
    background: #fff;
    border: 1px solid #e6ece8;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 8px 22px rgba(0,0,0,.05);
}
.toc h4 { color: var(--primary); margin-bottom: 8px; font-size: 1rem; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 6px 0; padding-left: 0; }
.toc a { color: var(--primary-dark); }
.toc a:hover { text-decoration: underline; }

/* Key takeaways / CTA card variants for sidebar */
.side-card {
    background: #fff;
    border: 1px solid #e6ece8;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 8px 22px rgba(0,0,0,.05);
    margin-top: 14px;
}
.side-card h4 { color: var(--primary); margin-bottom: 8px; font-size: 1rem; }
.side-card ul { margin: 0; }
.side-card li { margin: 8px 0; }

/* Pull quote to break monotony in long reads */
.pull-quote {
    background: #e8f6ef;
    border-left: 6px solid var(--accent);
    border-radius: 10px;
    padding: 14px 16px;
    margin: 1.6rem 0;
    color: var(--primary-dark);
    font-weight: 600;
}

/* Inline meta chip */
.meta-chip {
    display:inline-block;
    background:#eef1ed;
    color: var(--primary-dark);
    border:1px solid #dfe6e1;
    border-radius:999px;
    padding:4px 10px;
    font-size:.9rem;
}

