/* ============================================================
   Host Me Ireland — site.css
   Shared chrome + components for hostme.ie marketing site.
   Imports the design-system tokens; consumed by every page.
   Per-page accent is set via body.page-host / body.page-it.
   ============================================================ */

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-sans);
  --page-accent: var(--brand);
  --page-accent-soft: var(--brand-soft);
}
body.page-it { --page-accent: var(--accent-2); --page-accent-soft: var(--accent-2-soft); }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.ic { width: 18px; height: 18px; }

/* ---------- Header ---------- */
header { position: sticky; top: 0; z-index: 40; background: rgba(247,248,250,.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.brand img { height: 34px; width: 34px; }
.brand .tld { color: var(--fg-dim); }
.brand .me { color: var(--brand); }
.nav .links { display: flex; gap: 26px; margin-left: 8px; }
.nav .links a { font-size: 15px; font-weight: 500; color: var(--fg-muted); transition: color var(--dur) var(--ease-out); }
.nav .links a:hover, .nav .links a.active { color: var(--fg); }
.nav .right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
@media (max-width: 880px){ .nav .links { display: none; } }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: 13px; color: var(--fg-dim); padding-top: 28px; display: flex; gap: 8px; align-items: center; }
.crumb a:hover { color: var(--fg); }

/* ---------- Home hero ---------- */
.hero { padding: 76px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 980px){ .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { margin: 16px 0 0; }
.hero h1 .accent { color: var(--brand); }
.hero .lead { margin: 20px 0 30px; max-width: 34ch; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--border); }
.trust .t .n { font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.trust .t .n .u { color: var(--brand); }
.trust .t .l { font-size: 13px; color: var(--fg-muted); margin-top: 2px; }

/* ---------- Service-page hero ---------- */
.phero { padding: 20px 0 64px; }
.phero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 980px){ .phero-grid { grid-template-columns: 1fr; gap: 40px; } }
.phero.center { text-align: center; padding-bottom: 56px; }
.phero.center h1 { margin: 18px auto 0; max-width: 16ch; }
.phero.center .lead { margin: 20px auto 0; max-width: 52ch; }
.phero h1 { margin: 18px 0 0; }
.phero h1 .accent { color: var(--page-accent); }
.phero .lead { margin: 20px 0 30px; max-width: 38ch; }
.phero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: var(--radius-pill); background: var(--page-accent-soft); color: var(--page-accent); font-size: 13px; font-weight: 600; }

/* ---------- WhatsApp chat motif ---------- */
.chat-card { background: var(--ink-1); border-radius: var(--radius-xl); padding: 22px 20px 18px; box-shadow: var(--shadow-lg); }
.chat-head { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--ink-3); }
.chat-head .av { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 15px; }
.chat-head .nm { color: var(--ink-9); font-weight: 700; font-size: 15px; }
.chat-head .st { color: var(--brand-whatsapp); font-size: 12px; display: flex; align-items: center; gap: 5px; }
.chat-head .st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-whatsapp); }
.chat { display: flex; flex-direction: column; gap: 9px; }
.bub { max-width: 82%; padding: 9px 13px; font-size: 14px; line-height: 1.45; border-radius: 15px; }
.bub .t { font-size: 10px; margin-top: 4px; display: block; }
.bub.in { align-self: flex-start; background: var(--ink-3); color: var(--ink-9); border-bottom-left-radius: 5px; }
.bub.in .t { color: var(--ink-6); }
.bub.out { align-self: flex-end; background: var(--brand-whatsapp); color: var(--on-whatsapp); border-bottom-right-radius: 5px; }
.bub.out .t { color: var(--on-whatsapp); opacity: .7; text-align: right; }

/* ---------- Section scaffolding ---------- */
section.band { padding: 72px 0; }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head.center { margin: 0 auto 44px; text-align: center; }
.sec-head .eyebrow { color: var(--page-accent); }
.sec-head h2 { margin: 10px 0 0; }
.sec-head p { margin: 14px 0 0; font-size: 17px; }
.alt { background: var(--paper-0); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.it-band { background: var(--paper-0); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Two service lanes (home) ---------- */
.lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px){ .lanes { grid-template-columns: 1fr; } }
.lane { display: flex; flex-direction: column; padding: 34px; border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--bg-card); box-shadow: var(--shadow-sm); transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.lane:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.lane .badge-ic { width: 52px; height: 52px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.lane .badge-ic .ic { width: 26px; height: 26px; }
.lane.host .badge-ic { background: var(--brand-soft); color: var(--brand); }
.lane.it .badge-ic { background: var(--accent-2-soft); color: var(--accent-2); }
.lane h3 { margin: 0; font-size: 24px; }
.lane .sub { margin: 6px 0 18px; font-weight: 600; color: var(--fg); font-size: 16px; }
.lane p { margin: 0 0 22px; }
.lane ul { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.lane li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--fg-muted); }
.lane li .ic { width: 17px; height: 17px; color: var(--brand); flex: none; }
.lane.it li .ic { color: var(--accent-2); }
.lane .foot { margin-top: auto; }

/* ---------- IT services grid (home) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px){ .svc-grid { grid-template-columns: repeat(2, 1fr); } }
.svc { display: flex; align-items: center; gap: 13px; padding: 18px 18px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--paper-1); transition: border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out); }
.svc:hover { border-color: var(--purple-300); background: #fff; }
.svc .si { width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.svc .si .ic { width: 19px; height: 19px; }
.svc .nm { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.svc.more { justify-content: center; color: var(--fg-dim); font-weight: 600; font-size: 14px; border-style: dashed; background: transparent; }

/* ---------- Why-me (home) ---------- */
.why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: center; }
@media (max-width: 860px){ .why-grid { grid-template-columns: 1fr; gap: 32px; } }
.why-photo { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); aspect-ratio: 4/5; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.why h2 { margin: 12px 0 0; }
.why p { margin: 18px 0 0; font-size: 17px; }
.why .sign { margin-top: 24px; display: flex; align-items: center; gap: 12px; }
.why .sign .nm { font-weight: 700; }
.why .sign .role { color: var(--fg-muted); font-size: 14px; }

/* ---------- Clients ---------- */
.clients { text-align: center; }
.clients .lbl { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-dim); }
.logos { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; }
.logos img { height: 46px; width: auto; opacity: .62; filter: grayscale(1); transition: opacity var(--dur) var(--ease-out), filter var(--dur) var(--ease-out); }
.logos img:hover { opacity: 1; filter: grayscale(0); }

/* ---------- Capability cards (IT) ---------- */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px){ .caps { grid-template-columns: 1fr; } }
.cap { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-card); box-shadow: var(--shadow-sm); transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.cap:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cap .si { width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.cap .si .ic { width: 23px; height: 23px; }
.cap h3 { margin: 0 0 8px; font-size: 19px; }
.cap p { margin: 0; font-size: 15px; }

/* ---------- How-it-works steps (IT) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--paper-1); border: 1px solid var(--border); }
.step .num { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-2); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 16px; }
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; font-size: 15px; }

/* ---------- Audience strip (IT) ---------- */
.aud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px){ .aud { grid-template-columns: repeat(2, 1fr); } }
.achip { display: flex; align-items: center; gap: 11px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--paper-1); font-weight: 600; font-size: 15px; }
.achip .ic { width: 18px; height: 18px; color: var(--accent-2); flex: none; }

/* ---------- Pricing plans (hosting) ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
@media (max-width: 860px){ .plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.plan { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--bg-card); box-shadow: var(--shadow-sm); }
.plan.feat { border-color: var(--brand); box-shadow: var(--shadow-lg); position: relative; }
.plan.feat .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; padding: 5px 14px; border-radius: var(--radius-pill); }
.plan .pname { font-weight: 700; font-size: 18px; }
.plan .pdesc { color: var(--fg-muted); font-size: 14px; margin: 6px 0 20px; min-height: 40px; }
.plan .price { display: flex; align-items: baseline; gap: 4px; }
.plan .price .amt { font-weight: 800; font-size: 44px; letter-spacing: -0.03em; }
.plan .price .per { color: var(--fg-muted); font-size: 14px; }
.plan .billed { font-size: 13px; color: var(--fg-dim); margin: 6px 0 22px; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--fg-muted); }
.plan li .ic { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 2px; }
.plan .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ---------- Feature cards (hosting) ---------- */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px){ .feats { grid-template-columns: 1fr; } }
.feat-c { padding: 26px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--paper-1); }
.feat-c .si { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feat-c .si .ic { width: 22px; height: 22px; }
.feat-c h3 { margin: 0 0 6px; font-size: 18px; }
.feat-c p { margin: 0; font-size: 15px; }

/* ---------- Domain block (hosting) ---------- */
.domain { background: var(--brand-soft); border: 1px solid var(--purple-200); border-radius: var(--radius-xl); padding: 44px; text-align: center; }
.domain h3 { margin: 0 0 8px; font-size: 24px; }
.domain p { margin: 0 auto 6px; max-width: 56ch; }
.domain p b { color: var(--fg); }
.dperks { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.dperk { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--purple-200); font-size: 14px; font-weight: 600; color: var(--fg); }
.dperk .ic { width: 17px; height: 17px; color: var(--brand); flex: none; }

/* ---------- Blog: index ---------- */
.blog-feat { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 40px 0 8px; }
@media (max-width: 860px){ .blog-feat { grid-template-columns: 1fr; gap: 24px; } }
.blog-feat .cover { aspect-ratio: 16/10; border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center; }
.blog-feat .cover .ic { width: 64px; height: 64px; color: #fff; opacity: .92; }
.blog-feat h2 { margin: 14px 0 0; font-size: clamp(26px,3vw,38px); }
.blog-feat .excerpt { margin: 14px 0 20px; font-size: 17px; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--fg-dim); }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--paper-4); }
.cat { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; letter-spacing: .01em; }
.cat.hosting { background: var(--brand-soft); color: var(--brand); }
.cat.security { background: var(--danger-soft); color: var(--danger); }
.cat.email { background: var(--info-soft); color: var(--info); }
.cat.backups { background: var(--success-soft); color: var(--success); }
.cat.tips { background: var(--warning-soft); color: var(--warning-ink); }
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 860px){ .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-card); box-shadow: var(--shadow-sm); transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-card .cover { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; }
.post-card .cover .ic { width: 40px; height: 40px; color: #fff; opacity: .92; }
.post-card .body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card h3 { margin: 0; font-size: 19px; line-height: 1.25; }
.post-card p { margin: 0; font-size: 14px; }
.post-card .post-meta { margin-top: auto; }
.cover.hosting { background: linear-gradient(135deg,var(--purple-500),var(--purple-700)); }
.cover.security { background: linear-gradient(135deg,var(--danger),var(--danger-deep)); }
.cover.email { background: linear-gradient(135deg,var(--info),var(--info-deep)); }
.cover.backups { background: linear-gradient(135deg,var(--success),var(--success-deep)); }
.cover.tips { background: linear-gradient(135deg,var(--warning),var(--warning-deep)); }

/* ---------- Blog: article reader ---------- */
.article { max-width: 720px; margin: 0 auto; }
.article .cover { aspect-ratio: 21/9; border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center; margin: 8px 0 32px; }
.article .cover .ic { width: 60px; height: 60px; color: #fff; opacity: .92; }
.article h1 { margin: 16px 0 0; font-size: clamp(30px,4vw,46px); }
.article .dek { font-size: 19px; color: var(--fg-lead); margin: 18px 0 0; line-height: 1.5; }
.byline { display: flex; align-items: center; gap: 12px; margin: 24px 0 0; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.byline img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.byline .nm { font-weight: 700; font-size: 14px; }
.byline .meta { font-size: 13px; color: var(--fg-dim); }
.prose { font-size: 17px; line-height: 1.7; color: var(--fg-lead); }
.prose > * { margin: 0 0 22px; }
.prose h2 { font-size: 26px; color: var(--fg); margin: 40px 0 14px; }
.prose h3 { font-size: 20px; color: var(--fg); margin: 32px 0 10px; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote { margin: 28px 0; padding: 18px 24px; border-left: 3px solid var(--brand); background: var(--brand-soft); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-size: 19px; color: var(--fg); font-weight: 500; }
.prose code { background: var(--paper-2); padding: 2px 6px; border-radius: var(--radius-xs); font-size: .9em; }
.article-cta { margin: 40px 0 0; padding: 28px; border-radius: var(--radius-lg); background: var(--paper-1); border: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.article-cta .t { font-weight: 700; font-size: 18px; }
.article-cta .s { color: var(--fg-muted); font-size: 14px; margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); color: #fff; border-radius: var(--radius-xl); padding: 56px; text-align: center; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { color: var(--purple-100); margin: 14px 0 28px; font-size: 18px; }
.cta-band .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- Footer ---------- */
footer { background: var(--ink-1); color: var(--ink-7); padding: 60px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px){ .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
footer .brand { color: var(--ink-9); }
footer .brand .tld { color: var(--ink-6); }
footer .brand .me { color: var(--purple-300); }
footer .blurb { margin: 16px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-6); max-width: 30ch; }
footer h4 { color: var(--ink-9); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 16px; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
footer ul a { font-size: 14px; color: var(--ink-7); transition: color var(--dur) var(--ease-out); }
footer ul a:hover { color: var(--ink-9); }
.foot-bot { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--ink-3); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-6); }
