/* ==========================================================================
   Ideal Works LTD — Damp Proofing Services Swansea
   Brand: #B4181E  |  Mobile-first  |  Animated & interactive
   ========================================================================== */

:root {
  --red: #b4181e;
  --red-dark: #8e1218;
  --red-deep: #6d0d12;
  --red-light: #d93a41;
  --red-wash: #fdf2f2;
  --red-wash-2: #f8e3e4;

  --ink: #16161a;
  --charcoal: #22222a;
  --charcoal-2: #2e2e38;
  --body: #555c68;
  --muted: #858d99;
  --line: #e6e8ec;
  --bg: #f7f8f9;
  --white: #ffffff;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(22, 22, 26, .07);
  --shadow: 0 6px 22px rgba(22, 22, 26, .09);
  --shadow-lg: 0 18px 44px rgba(22, 22, 26, .16);
  --shadow-red: 0 8px 26px rgba(180, 24, 30, .30);

  --wrap: 1160px;
  --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.22;
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: -.02em;
}

h1 { font-size: 1.95rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--red); }

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

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .5em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.narrow { max-width: 840px; margin-left: auto; margin-right: auto; }

section { padding: 56px 0; }
.bg-grey { background: var(--bg); }
.bg-dark { background: var(--charcoal); color: #c8ccd4; }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }

.sec-head { text-align: center; max-width: 740px; margin: 0 auto 38px; }
.sec-head p { font-size: 1.05rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .9em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.bg-dark .eyebrow, .cta-band .eyebrow { color: #ff8d93; }
.bg-dark .eyebrow::before, .cta-band .eyebrow::before { background: #ff8d93; }
.sec-head .eyebrow { justify-content: center; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute;
  left: -9999px;
  background: var(--red);
  color: #fff;
  padding: 12px 18px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; top: 0; }

:focus-visible {
  outline: 3px solid var(--red-light);
  outline-offset: 2px;
}

/* ==========================================================================
   Scroll progress bar
   ========================================================================== */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--red) 0%, var(--red-light) 100%);
  z-index: 300;
  will-change: transform;
}

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  background: var(--ink);
  color: #a5abb6;
  font-size: .83rem;
  padding: 9px 0;
}
.topbar .wrap {
  display: flex;
  justify-content: center;
  gap: 10px 24px;
  flex-wrap: wrap;
  text-align: center;
}
.topbar a { color: #e3e6ea; text-decoration: none; transition: color .2s; }
.topbar a:hover { color: var(--red-light); }
.topbar span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; opacity: .8; flex-shrink: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, padding .3s;
}
.site-header.stuck { box-shadow: 0 4px 22px rgba(22, 22, 26, .10); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  max-width: var(--wrap);
  margin: 0 auto;
  transition: padding .3s var(--ease);
}
.site-header.stuck .header-inner { padding-top: 7px; padding-bottom: 7px; }

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  transition: transform .4s var(--ease);
}
.site-header.stuck .logo img { width: 40px; height: 40px; }
.logo:hover img { transform: rotate(-4deg) scale(1.06); }

.logo-text strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
}
.logo-text span {
  display: block;
  font-size: .68rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 700;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 44px;
  padding: 0 11px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  transition: background .2s;
}
.nav-toggle:hover { background: var(--red-wash); border-color: var(--red-wash-2); }
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none;
  width: 100%;
  border-top: 1px solid var(--line);
  padding: 8px 20px 18px;
  animation: navDrop .3s var(--ease);
}
@keyframes navDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav a {
  display: block;
  padding: 13px 4px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  transition: color .2s, padding-left .2s;
}
.site-nav a:hover { color: var(--red); padding-left: 8px; }
.site-nav a[aria-current="page"] { color: var(--red); }
.site-nav .btn { margin-top: 15px; border-bottom: 0; }
.site-nav .btn-primary, .site-nav .btn-primary:hover { color: #fff; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 27px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .22s var(--ease), box-shadow .25s, background .25s, color .25s;
  text-align: center;
  line-height: 1.3;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .6s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(-1px); }

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 12px 30px rgba(180,24,30,.38); }

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 20px rgba(22,22,26,.28);
}
.btn-dark:hover { background: var(--charcoal-2); }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}
.btn-outline:hover { background: rgba(255, 255, 255, .13); border-color: #fff; }

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: #d3d7de;
}
.btn-outline-dark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn-ghost-red {
  background: var(--red-wash);
  color: var(--red);
  border-color: var(--red-wash-2);
}
.btn-ghost-red:hover { background: var(--red); color: #fff; border-color: var(--red); }

.btn-block { width: 100%; }
.btn-row { display: flex; flex-direction: column; gap: 12px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--ink);
  color: #c2c7d0;
  padding: 50px 0 58px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 420px at 82% 8%, rgba(180, 24, 30, .48) 0%, transparent 62%),
    radial-gradient(520px 420px at 6% 96%, rgba(180, 24, 30, .22) 0%, transparent 64%),
    linear-gradient(160deg, #1b1b20 0%, #16161a 55%, #101014 100%);
  animation: heroGlow 14s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-2%, 1%); }
}
/* subtle moisture grid */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }

.hero h1 { color: #fff; margin-bottom: .5em; }
.hero h1 .hl {
  position: relative;
  color: #fff;
  white-space: nowrap;
}
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: .06em;
  height: .38em;
  background: var(--red);
  border-radius: 3px;
  z-index: -1;
  transform-origin: 0 50%;
  animation: swipe 1s var(--ease) .55s both;
}
@keyframes swipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-lead { font-size: 1.08rem; margin-bottom: 1.4em; color: #cfd3da; }

.hero-badges {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 11px;
}
.hero-badges li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0;
  font-size: .97rem;
  color: #dde0e6;
}
.tick {
  flex-shrink: 0;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  margin-top: 3px;
}
.tick svg { width: 12px; height: 12px; }

/* ---------- CTA panels on dark backgrounds ---------- */
.hero-visual,
.cta-panel {
  position: relative;
  margin-top: 34px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  backdrop-filter: blur(6px);
}
.hero-visual h2,
.cta-panel h3 {
  color: #fff;
  font-size: 1.22rem;
  margin-bottom: .55em;
}
.hero-visual p,
.cta-panel p { font-size: .95rem; color: #b9bec7; }

.panel-rule {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, .13);
  margin: 22px 0;
}
.panel-label {
  display: block;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 6px;
}
.panel-phone {
  display: inline-block;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: #fff;
  text-decoration: none;
  transition: color .25s;
}
.panel-phone:hover { color: var(--red-light); }
.panel-note { font-size: .86rem !important; color: #8d949f !important; margin-top: 8px; }
.hero-visual .btn-row,
.cta-panel .btn-row { margin-top: 22px; }

/* ---------- CTA card on light backgrounds ---------- */
.cta-card {
  background: var(--red-wash);
  border: 1px solid var(--red-wash-2);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
}
.cta-card .icon { margin: 0 auto 20px; background: var(--red); color: #fff; }
.cta-card h3 { font-size: 1.24rem; margin-bottom: .5em; }
.cta-card p { font-size: .96rem; }
.cta-card .panel-rule { background: var(--red-wash-2); }
.cta-card .panel-label { color: var(--red); }
.cta-card .panel-phone { color: var(--ink); }
.cta-card .panel-phone:hover { color: var(--red); }
.cta-card .panel-note { color: var(--muted) !important; }
.cta-card .btn-row { margin-top: 22px; }
.bg-grey .cta-card { background: var(--white); border-color: var(--line); }

/* ---------- Service "at a glance" info card ---------- */
.info-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.info-card h3 { font-size: 1.12rem; margin-bottom: .9em; }
.info-card h4 { font-size: .98rem; margin-bottom: .45em; }
.info-card p { font-size: .93rem; }
.info-card .panel-rule { background: var(--line); margin: 22px 0; }

.facts { margin: 0; display: grid; }
.facts > div {
  display: grid;
  gap: 3px;
  padding: 13px 0;
  border-bottom: 1px dashed #dfe2e8;
}
.facts > div:first-of-type { padding-top: 0; }
.facts > div:last-of-type { border-bottom: 0; padding-bottom: 0; }
.facts dt {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--red);
}
.facts dd { margin: 0; font-size: .95rem; color: var(--ink); font-weight: 600; line-height: 1.5; }

/* "how we treat it" block sitting under the panel */
.info-card + h3 { margin-top: 32px; }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--red) 0%, var(--red-light) 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #dfe2e8;
}
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: .5em; }
.card p { font-size: .96rem; }
.card .more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-weight: 800;
  font-size: .93rem;
  color: var(--red);
  text-decoration: none;
}
.card .more svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.card:hover .more svg { transform: translateX(5px); }

.icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--red-wash);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  transition: transform .35s var(--ease), background .3s;
}
.icon svg { width: 28px; height: 28px; }
.card:hover .icon { transform: scale(1.09) rotate(-5deg); background: var(--red); color: #fff; }

.bg-dark .card {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: none;
}
.bg-dark .card p { color: #b9bec7; }
.bg-dark .card:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255,255,255,.2); }

/* ---------- Damp type cards (diagram on top, even columns) ---------- */
.type-card { display: flex; flex-direction: column; }
.type-card p + p { margin-top: 12px; }
.card.type-card .more { margin-top: auto; padding-top: 18px; }

/* ---------- Split content ---------- */
.split { display: grid; gap: 32px; align-items: center; }
.split.top { align-items: start; }

/* ==========================================================================
   Process steps
   ========================================================================== */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px 26px 76px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.step:hover { transform: translateX(5px); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 24px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: var(--shadow-red);
  transition: transform .3s var(--ease);
}
.step:hover::before { transform: rotate(-8deg) scale(1.07); }
.step h3 { margin-bottom: .35em; font-size: 1.08rem; }
.step p { font-size: .95rem; }

/* ==========================================================================
   Checklist
   ========================================================================== */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 15px 17px;
  font-size: .96rem;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.checklist li:hover { transform: translateX(5px); box-shadow: var(--shadow-sm); }

/* ==========================================================================
   Tabs — "Damp explained"
   ========================================================================== */
.service-block {
  scroll-margin-top: 96px;
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-of-type { border-bottom: 0; }
.service-block h2 { font-size: 1.5rem; }
.tagline {
  display: inline-block;
  color: var(--red);
  font-weight: 800;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  background: var(--red-wash);
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 1em;
}
.pill-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill-list li {
  margin: 0;
  background: var(--red-wash);
  color: var(--red-dark);
  border-radius: 100px;
  padding: 7px 15px;
  font-size: .84rem;
  font-weight: 700;
  transition: transform .2s var(--ease), background .2s;
}
.pill-list li:hover { transform: translateY(-2px); background: var(--red-wash-2); }
.pill-list a { color: inherit; text-decoration: none; display: block; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.faq details[open] { box-shadow: var(--shadow); border-color: var(--red-wash-2); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 56px 19px 21px;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  font-size: 1rem;
  transition: color .2s;
}
.faq summary:hover { color: var(--red); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 19px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316161a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .35s var(--ease), background-color .25s;
}
.faq details[open] summary::after {
  transform: rotate(135deg);
  background-color: var(--red-wash);
}
.faq details[open] summary { color: var(--red); }
.faq .answer { padding: 0 21px 21px; font-size: .96rem; animation: fadeUp .35s var(--ease); }

/* ==========================================================================
   Areas
   ========================================================================== */
.areas {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 14px;
}
.areas li {
  margin: 0;
  font-size: .93rem;
  padding-left: 19px;
  position: relative;
  transition: transform .2s var(--ease), color .2s;
}
.areas li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  transition: transform .2s var(--ease);
}
.areas li:hover { transform: translateX(4px); color: var(--ink); }
.areas li:hover::before { transform: scale(1.5); }

/* ==========================================================================
   Map
   ========================================================================== */
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  line-height: 0;
}
.map-frame iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
  filter: grayscale(.35) contrast(1.05);
  transition: filter .5s;
}
.map-frame:hover iframe { filter: none; }

/* ==========================================================================
   Contact cards
   ========================================================================== */
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.contact-card .icon { margin: 0 auto 18px; }
.contact-card:hover .icon { transform: scale(1.09) rotate(-5deg); background: var(--red); color: #fff; }
.contact-card h3 { margin-bottom: .3em; }
.contact-card a.big {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  word-break: break-word;
  transition: color .2s;
}
.contact-card a.big:hover { color: var(--red); }
.contact-card p { font-size: .92rem; margin-top: .6em; }

.hours { list-style: none; padding: 0; margin: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .95rem;
  margin: 0;
}
.hours li:last-child { border-bottom: 0; }
.hours li.today {
  background: var(--red-wash);
  margin: 0 -12px;
  padding: 10px 12px;
  border-radius: 8px;
  border-bottom-color: transparent;
}
.hours li.today strong { color: var(--red); }
.hours strong { color: var(--ink); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  background: var(--red);
  color: #ffd9da;
  text-align: center;
  padding: 56px 0;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(255,255,255,.16) 0%, transparent 60%),
    linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 640px; margin: 0 auto 28px; color: #ffdcdd; }
.cta-band .btn-row { max-width: 440px; margin: 0 auto; }
.cta-band .btn-primary { background: #fff; color: var(--red); box-shadow: 0 8px 26px rgba(0,0,0,.22); }
.cta-band .btn-primary:hover { background: var(--ink); color: #fff; }

/* ==========================================================================
   Breadcrumb / page head
   ========================================================================== */
.crumbs { font-size: .85rem; padding: 15px 0; color: var(--muted); }
.crumbs a { color: var(--red); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.page-head {
  position: relative;
  background: var(--ink);
  color: #c2c7d0;
  padding: 44px 0 48px;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 320px at 88% 12%, rgba(180, 24, 30, .45) 0%, transparent 62%),
    linear-gradient(150deg, #1b1b20 0%, #131317 100%);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin-bottom: .4em; }
.page-head p { font-size: 1.03rem; max-width: 700px; margin: 0; color: #cfd3da; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: #9aa1ad;
  padding: 48px 0 0;
  font-size: .93rem;
}
.site-footer h4 {
  color: #fff;
  font-size: .93rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.1em;
}
.site-footer a { color: #c6cbd3; text-decoration: none; transition: color .2s, padding-left .2s; }
.site-footer a:hover { color: var(--red-light); }
.site-footer ul li a:hover { padding-left: 5px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .65em; }
.footer-grid { display: grid; gap: 32px; }
.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-text strong { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 38px;
  padding: 20px 0 88px;
  text-align: center;
  font-size: .84rem;
  color: #767d89;
}

/* ==========================================================================
   Sticky mobile call bar
   ========================================================================== */
.callbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 250;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, .16);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, .22);
  transform: translateY(100%);
  transition: transform .4s var(--ease);
}
.callbar.show { transform: none; }
.callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 8px;
  font-weight: 800;
  font-size: .95rem;
  text-decoration: none;
}
.callbar .call { background: var(--red); color: #fff; }
.callbar .mail { background: var(--ink); color: #fff; }
.callbar svg { width: 17px; height: 17px; }
.callbar .call svg { animation: ring 2.6s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes ring {
  0%, 72%, 100% { transform: rotate(0); }
  76% { transform: rotate(14deg); }
  80% { transform: rotate(-12deg); }
  84% { transform: rotate(9deg); }
  88% { transform: rotate(-6deg); }
  92% { transform: rotate(0); }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (min-width: 700px) {
  h1 { font-size: 2.55rem; }
  h2 { font-size: 2rem; }
  section { padding: 72px 0; }

  /* label / value side by side once there is room */
  .facts > div { grid-template-columns: 142px 1fr; gap: 16px; align-items: baseline; }

  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-grid div strong { font-size: 2.1rem; }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .btn-block { width: auto; }
  .hero-badges { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .page-head { padding: 60px 0 64px; }
  .map-frame iframe { height: 430px; }
  .tool-body { padding: 30px; }
  .tool-head { padding: 30px; }
  .tool-actions { flex-direction: row; }
  .checker-field { flex-direction: row; }
  .checker input { min-width: 0; }
  .tab-btn { flex: 1 1 0; }
}

/* ==========================================================================
   Desktop
   ========================================================================== */
@media (min-width: 1000px) {
  h1 { font-size: 3rem; }

  /* the write-up column runs much longer than the panel — let the panel
     track the reading position instead of leaving dead space beside it */
  .service-block .info-card { position: sticky; top: 96px; }

  .nav-toggle { display: none; }
  .site-nav {
    display: block !important;
    width: auto;
    border-top: 0;
    padding: 0;
    animation: none;
  }
  .site-nav ul { display: flex; align-items: center; gap: 4px; }
  .site-nav a {
    position: relative;
    border-bottom: 0;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: .97rem;
  }
  .site-nav a:hover { padding-left: 15px; background: transparent; }
  .site-nav li:not(:last-child) a::after {
    content: "";
    position: absolute;
    left: 15px; right: 15px; bottom: 4px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .3s var(--ease);
  }
  .site-nav li:not(:last-child) a:hover::after,
  .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav a[aria-current="page"] { color: var(--red); }
  .site-nav .btn { margin-top: 0; margin-left: 12px; padding: 12px 22px; font-size: .95rem; }

  .hero { padding: 82px 0 92px; }
  .hero-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 52px;
    align-items: center;
  }
  .hero-visual { margin-top: 0; }
  .hero-lead { font-size: 1.15rem; }

  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 52px; }
  .split.reverse > *:first-child { order: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .callbar { display: none; }
  .footer-bottom { padding-bottom: 20px; }
  .areas { grid-template-columns: repeat(4, 1fr); }
  .service-block { padding: 60px 0; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .callbar { transform: none; }
  .hero h1 .hl::after { transform: scaleX(1); }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .callbar, .progress, .topbar, .cta-band, .map-frame { display: none; }
  body { font-size: 12pt; color: #000; }
}
