/* Celco — 17 Ferryquay Street, Londonderry, BT48 6JB
   Shared stylesheet. No frameworks, no external requests. */

:root {
  --brand: #123a6b;
  --brand-600: #1b52a0;
  --brand-900: #0b2748;
  --brand-tint: #e9f0fa;
  --accent: #f5a300;
  --accent-600: #d98b00;
  --accent-ink: #2a1a00;
  --ink: #0f1b2d;
  --body: #41536b;
  --line: #dfe6ef;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06), 0 2px 10px rgba(15, 27, 45, .05);
  --shadow: 0 14px 34px rgba(15, 27, 45, .12);
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
}

img, svg, iframe { max-width: 100%; }
iframe { border: 0; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3rem); }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.05rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }
a { color: var(--brand-600); }
a:hover { color: var(--brand-900); }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: .4rem; }
strong { color: var(--ink); }

:focus-visible {
  outline: 3px solid #0b2748;
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-900);
  color: #fff;
  padding: .75rem 1rem;
  z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.15rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding-block: .5rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand-600), var(--brand-900));
  color: #fff;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.3rem; letter-spacing: -.02em; color: var(--ink); }
.brand-text span { font-size: .78rem; color: #63758d; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem .9rem;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle-bars {
  width: 18px;
  height: 12px;
  position: relative;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  inset: 4px 0 auto;
  border-top: 2px solid var(--ink);
}

.site-nav { display: flex; align-items: center; gap: .35rem; }
.site-nav > ul {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav > ul > li { margin: 0; }
.site-nav a {
  display: inline-block;
  padding: .6rem .7rem;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .96rem;
}
.site-nav a:hover { background: var(--brand-tint); color: var(--brand-900); }
.site-nav a[aria-current="page"] { background: var(--brand-tint); color: var(--brand); }

.nav-drop { position: relative; }
.nav-drop > summary {
  list-style: none;
  cursor: pointer;
  padding: .6rem .7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.nav-drop > summary:hover { background: var(--brand-tint); color: var(--brand-900); }
.nav-drop[open] > summary { background: var(--brand-tint); color: var(--brand); }
.nav-drop ul {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 260px;
  margin: 0;
  padding: .5rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.nav-drop ul a { display: block; padding: .55rem .7rem; border-radius: 8px; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.3rem;
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform .12s ease, background-color .12s ease, color .12s ease, border-color .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-600); color: var(--accent-ink); }
.btn-secondary { background: var(--brand); color: #fff; }
.btn-secondary:hover { background: var(--brand-900); color: #fff; }
.btn-outline { border-color: rgba(255, 255, 255, .65); color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn-quiet { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-quiet:hover { background: var(--brand-tint); color: var(--brand-900); }
.btn-whatsapp { background: #25d366; color: #06331b; }
.btn-whatsapp:hover { background: #1fbe5b; color: #06331b; }
.btn-sm { padding: .6rem 1rem; min-height: 42px; font-size: .95rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.btn-row > li { margin: 0; }

/* ---------- Layout blocks ---------- */
.section { padding: clamp(2.4rem, 5vw, 4rem) 0; }
.section-tint { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 1.8rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  margin-bottom: .6rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.lead { font-size: 1.12rem; color: var(--body); }

.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { border-color: var(--brand-600); box-shadow: var(--shadow); color: inherit; }
.card-link h3 { color: var(--brand); }
.card-link:hover h3 { text-decoration: underline; }
.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: .9rem;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand);
}
.card-more { display: inline-flex; align-items: center; gap: .35rem; margin-top: .8rem; font-weight: 650; color: var(--brand-600); }

.note {
  background: #fffaeb;
  border: 1px solid #f7dda1;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: .9rem 1.05rem;
  margin: 1.2rem 0;
}
.note p:last-child { margin-bottom: 0; }
.note strong { color: #7a4a00; }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: .55rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: .15rem;
  top: .5em;
  width: .5rem;
  height: .85rem;
  border-right: 2.5px solid var(--brand-600);
  border-bottom: 2.5px solid var(--brand-600);
  transform: rotate(40deg);
}

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1rem; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.2rem 1.3rem 1.2rem 3.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.15rem;
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
}
.steps li strong { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0b2748 0%, #123a6b 55%, #1b52a0 100%);
  color: #eaf1fa;
  padding: clamp(2.5rem, 6vw, 4.6rem) 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% 55%;
  height: 420px;
  background: radial-gradient(circle at 50% 50%, rgba(245, 163, 0, .35), transparent 65%);
  pointer-events: none;
}
.hero h1 { color: #fff; max-width: 22ch; }
.hero p { color: #d5e2f2; }
.hero .lead { color: #e8f0fa; max-width: 56ch; }
.hero-inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.15fr .85fr; } }
.hero-chips { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.hero-chips li {
  margin: 0;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  font-size: .88rem;
  color: #f2f7fd;
}

.hero-card {
  position: relative;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.hero-card h2 { color: #fff; font-size: 1.15rem; }
.hero-card dl { margin: 0 0 1.1rem; display: grid; gap: .7rem; }
.hero-card dt { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #a8c1de; }
.hero-card dd { margin: .1rem 0 0; color: #fff; font-weight: 600; }
.hero-card dd a { color: #fff; }

/* ---------- Page header (interior pages) ---------- */
.page-head {
  background: linear-gradient(160deg, #0b2748, #143e72);
  color: #e6eefa;
  padding: clamp(2rem, 4.5vw, 3.2rem) 0;
  border-bottom: 4px solid var(--accent);
}
.page-head h1 { color: #fff; max-width: 30ch; }
.page-head .lead { color: #dfe9f6; max-width: 62ch; }
.breadcrumb { font-size: .88rem; margin-bottom: .9rem; color: #b9cde5; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: #8fabcc; }
.breadcrumb a { color: #dbe7f6; }

/* ---------- Content with sidebar ---------- */
.with-aside { display: grid; gap: 2rem; }
@media (min-width: 940px) { .with-aside { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-sm); }
.aside-card + .aside-card { margin-top: 1rem; }
.aside-card h2, .aside-card h3 { font-size: 1.1rem; }
.aside-sticky { position: sticky; top: 88px; }

.prose h2 { margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.15rem; }
.prose li { margin-bottom: .45rem; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; margin-bottom: .85rem; }
.contact-list svg { margin-top: .25rem; color: var(--brand-600); }
.contact-list span { display: block; }
.contact-list .label { font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; color: #6b7d94; }
.contact-list .value { color: var(--ink); font-weight: 600; }
.contact-list a { font-weight: 600; }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #e9eef5;
  box-shadow: var(--shadow-sm);
}
.map-frame iframe { display: block; width: 100%; height: 340px; }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .97rem; background: var(--surface); }
caption { text-align: left; padding-bottom: .6rem; color: #63758d; font-size: .9rem; }
th, td { text-align: left; padding: .75rem .85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--brand-tint); color: var(--brand-900); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(150deg, #123a6b, #0b2748);
  color: #e7effa;
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d8e4f3; max-width: 60ch; }
.cta-band p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1729; color: #b8c6d8; padding: 2.6rem 0 1.6rem; margin-top: 3rem; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: .02em; }
.footer-grid { display: grid; gap: 1.8rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: #dbe7f6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-note { border-top: 1px solid #22334c; margin-top: 1.8rem; padding-top: 1.1rem; font-size: .86rem; color: #93a5bd; }
.footer-note p { margin: 0 0 .4rem; }

/* ---------- Mobile sticky call bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 820px) {
  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(15, 27, 45, .10);
  }
  .mobile-bar .btn { padding: .7rem .45rem; font-size: .9rem; }
  body { padding-bottom: 76px; }
}

/* ---------- Mobile navigation ---------- */
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .3rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .9rem 1.15rem 1.3rem;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: .1rem; }
  .site-nav a, .nav-drop > summary { padding: .8rem .7rem; border-radius: 10px; font-size: 1.02rem; }
  .nav-drop ul {
    position: static;
    box-shadow: none;
    border: 0;
    border-left: 3px solid var(--brand-tint);
    border-radius: 0;
    margin: .2rem 0 .4rem .7rem;
    padding: 0 0 0 .4rem;
    min-width: 0;
  }
  .site-nav .btn { width: 100%; margin-top: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .btn:hover { transform: none; }
}

/* keep the wider navigation comfortable on medium screens */
@media (min-width: 921px) and (max-width: 1150px) {
  .header-inner { gap: .6rem; }
  .site-nav a, .nav-drop > summary { padding: .55rem .5rem; font-size: .9rem; }
  .btn-sm { padding: .55rem .8rem; }
}

/* ---------- Google Business Profile data sections ---------- */
[hidden] { display: none !important; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-900);
  font-size: .8rem;
  font-weight: 700;
}
.badge-muted { background: #eef1f6; color: #5a6b82; }

.meta { font-size: .87rem; color: #6b7d94; }

.rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 .8rem; }
.rating-score { font-size: 1.6rem; font-weight: 700; color: var(--ink); line-height: 1; }
.stars { letter-spacing: .1em; color: #e6a200; font-size: 1.05rem; }

.review-card blockquote { margin: 0 0 .6rem; color: var(--ink); }
.review-card blockquote::before { content: "\201C"; }
.review-card blockquote::after { content: "\201D"; }
.review-card figcaption { font-size: .88rem; color: #6b7d94; }

.product-card h3 { margin-bottom: .3rem; }
.price-tag { display: inline-block; margin-top: .6rem; font-weight: 700; color: var(--ink); }
.price-tag-quiet { font-weight: 600; color: #6b7d94; font-size: .92rem; }

/* Stock items written into the shop page by the admin panel. The cards sit in a
   grid, so the photo is a fixed shape and the price is pushed to the bottom. */
.product-card { display: flex; flex-direction: column; }
.product-card .badge { align-self: flex-start; margin-bottom: .5rem; }
.product-photo {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #eef1f6;
  margin-bottom: .9rem;
}
.product-card .price-tag,
.product-card .price-tag-quiet { margin-top: auto; padding-top: .7rem; }

.qa details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  box-shadow: var(--shadow-sm);
}
.qa details + details { margin-top: .6rem; }
.qa summary { cursor: pointer; font-weight: 650; color: var(--ink); }
.qa summary:hover { color: var(--brand-600); }
.qa .answer { margin: .7rem 0 0; }

.update-list { list-style: none; padding: 0; margin: 0; }
.update-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.update-list li:first-child { padding-top: 0; }
.update-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.update-list h3 { margin-bottom: .25rem; }

.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { font-weight: 650; color: var(--ink); }

.photo-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.photo-grid img { display: block; width: 100%; height: 170px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }

