/* Trust Knight Security — shared site styles
   Redesigned for a 50+ audience: one warm, light, high-contrast palette
   (no automatic/forced dark mode — that was making the site look "too
   dark" for visitors whose OS is set to dark mode), a larger base type
   scale for easy reading, bigger buttons/tap targets, and alternating
   section backgrounds so the page has visual rhythm instead of a long
   monotone stack. */

:root{
  --navy:#0b2545;
  --navy-ink:#15233c;
  --gold:#9c6a1f;
  --gold-deep:#7d5216;
  --cream:#fbf8f2;
  --tint:#f2e9d8;      /* warm secondary background for alternating sections */
  --surface:#ffffff;
  --border:#e6dfcc;
  --muted:#3d4658;
  --muted-2:#586178;
  --gold-soft:#f4e9d6;
  --focus:#7d5216;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--cream);
  color:var(--navy-ink);
  font-family:'Public Sans',-apple-system,BlinkMacSystemFont,sans-serif;
  font-size:18px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{font-family:'Fraunces',Georgia,serif;font-weight:600;margin:0 0 .45em;color:var(--navy-ink);line-height:1.18;}
h2{font-size:clamp(26px,3.4vw,34px);}
h3{font-size:20px;}
p{margin:0 0 1em;color:var(--muted);}
a{color:inherit;}
a:focus-visible,button:focus-visible,.btn:focus-visible{outline:3px solid var(--focus);outline-offset:2px;}
img{max-width:100%;display:block;}
.container{max-width:1160px;margin:0 auto;padding:0 24px;}

/* Section background rhythm */
.bg-surface{background:var(--surface);}
.bg-tint{background:var(--tint);}

/* Header */
.site-header{
  position:sticky;top:0;z-index:20;
  background:var(--cream);
  border-bottom:1px solid var(--border);
}
.site-header .row{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;max-width:1160px;margin:0 auto;}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;}
.brand img{height:36px;width:auto;}
.brand-word{font-family:'Fraunces',serif;font-weight:600;font-size:18px;color:var(--navy-ink);}
.brand-word small{display:block;font-family:'Public Sans',sans-serif;font-weight:600;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted-2);}
/* Small, quiet nod to being UK-based — sized deliberately small so it
   reads as a badge, not a banner. */
.uk-flag-badge{width:20px;height:20px;flex:0 0 auto;display:block;}
@media(max-width:820px){.uk-flag-badge{width:16px;height:16px;}}
nav.main-nav{display:flex;align-items:center;gap:30px;}
nav.main-nav a{font-size:16.5px;font-weight:600;text-decoration:none;color:var(--muted);}
nav.main-nav a:hover, nav.main-nav a.active{color:var(--navy-ink);}
.nav-cta{display:flex;align-items:center;gap:14px;}

/* Mobile menu toggle — a proper top nav on small screens instead of no
   navigation at all up there. Hidden on desktop, where the full nav/CTA
   already show in the row. */
.menu-toggle{
  display:none;
  width:46px;height:46px;
  align-items:center;justify-content:center;
  background:var(--surface);border:1px solid var(--border);border-radius:11px;
  cursor:pointer;padding:0;flex:0 0 auto;
}
.menu-icon,.menu-icon::before,.menu-icon::after{
  display:block;width:20px;height:2px;border-radius:2px;background:var(--navy-ink);
  position:relative;transition:transform .18s ease,opacity .18s ease;
}
.menu-icon::before,.menu-icon::after{content:"";position:absolute;left:0;}
.menu-icon::before{top:-6px;}
.menu-icon::after{top:6px;}
.menu-toggle.is-open .menu-icon{background:transparent;}
.menu-toggle.is-open .menu-icon::before{top:0;transform:rotate(45deg);}
.menu-toggle.is-open .menu-icon::after{top:0;transform:rotate(-45deg);}

.mobile-menu{
  display:none;
  flex-direction:column;
  gap:2px;
  padding:6px 20px 20px;
  border-top:1px solid var(--border);
  background:var(--cream);
}
.mobile-menu.open{display:flex;}
.mobile-menu a.nav-link{
  padding:15px 4px;
  font-size:17.5px;font-weight:600;
  color:var(--navy-ink);text-decoration:none;
  border-bottom:1px solid var(--border);
}
.mobile-menu a.nav-link.active{color:var(--gold-deep);}
.mobile-menu a.nav-link:last-of-type{border-bottom:none;}
.mobile-menu .btn{margin-top:14px;}

@media(max-width:820px){
  nav.main-nav, .nav-cta{display:none;}
  .site-header .row{padding:12px 16px;}
  .brand img{height:28px;}
  .brand-word{font-size:15px;}
  .menu-toggle{display:inline-flex;}
}
@media(min-width:821px){
  .mobile-menu{display:none!important;}
}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:16px 28px;border-radius:12px;font-weight:700;font-size:17px;
  text-decoration:none;cursor:pointer;border:1px solid transparent;
  transition:transform .06s ease, opacity .15s ease;
  min-height:48px;
}
.btn:active{transform:translateY(1px);}
.btn-primary{background:var(--navy);color:#fff;}
.btn-primary:hover{opacity:.92;}
.btn-secondary{background:transparent;color:var(--navy-ink);border-color:var(--border);border-width:2px;}
.btn-secondary:hover{border-color:var(--gold);}
.btn-gold{background:var(--gold);color:#fff;}
.btn-block{width:100%;}
.btn-sm{padding:11px 18px;font-size:14.5px;border-radius:9px;min-height:auto;}

/* Sections */
section{padding:80px 0;}
.section-tight{padding:52px 0;}
@media(max-width:820px){
  section{padding:44px 0;}
  .section-tight{padding:30px 0;}
  .grid{gap:14px;}
  .card{padding:20px;}
}
.eyebrow{font-family:'Public Sans',sans-serif;font-weight:700;font-size:13.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-deep);margin-bottom:12px;}
.lede{font-size:19.5px;max-width:60ch;}

/* Hero */
.hero{padding:64px 0;}
.hero h1{font-size:clamp(32px,4.6vw,48px);max-width:15ch;}
.hero .lede{font-size:20px;margin-top:16px;}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:30px;}
.hero-note{margin-top:18px;font-size:15px;color:var(--muted-2);}
@media(max-width:820px){
  .hero{padding:32px 0 8px;}
  .hero .lede{font-size:18px;margin-top:12px;}
  .hero-actions{margin-top:22px;gap:12px;}
  .hero-note{margin-top:14px;}
}

/* Split layout — pairs a photo with text/CTA content, used for the hero
   and closing sections so photography reads as part of the design rather
   than a slab pasted between blocks of text. */
.split{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:52px;
  align-items:center;
}
.split.split-narrow{grid-template-columns:1fr 1fr;}
.split-photo{
  --ar:4/3;
  --ar-mobile:4/3;
  --op:50% 50%;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow:0 14px 34px rgba(11,37,69,.10);
  aspect-ratio:var(--ar);
}
.split-photo img{width:100%;height:100%;object-fit:cover;object-position:var(--op);display:block;}
@media(max-width:820px){
  .split{grid-template-columns:1fr;gap:22px;}
  .split-photo{aspect-ratio:var(--ar-mobile);max-width:560px;margin:0 auto;width:100%;}
}

/* Cards / grids */
.grid{display:grid;gap:22px;}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-2{grid-template-columns:repeat(2,1fr);}
@media(max-width:820px){.grid-3,.grid-2{grid-template-columns:1fr;}}

.card{
  background:var(--surface);border:1px solid var(--border);border-radius:16px;
  padding:28px;
}
.bg-tint .card{background:var(--surface);}
.card h3{font-size:19px;margin-bottom:10px;}
.card p{font-size:16px;margin-bottom:0;}
.step-n{
  font-family:'Fraunces',serif;font-weight:700;font-size:14px;color:var(--gold-deep);
  letter-spacing:.05em;margin-bottom:12px;
}

/* Pricing */
.price-card{
  background:var(--surface);border:1px solid var(--border);border-radius:18px;
  padding:30px;display:flex;flex-direction:column;gap:16px;
}
.price-card.featured{border-color:var(--gold);box-shadow:0 10px 28px rgba(11,37,69,.10);}
/* One service, one price — a single centered card reads as confident and
   clear, rather than stretching to fill a 3-column grid built for
   comparing several tiers. */
.price-single{max-width:420px;margin:0 auto;border-color:var(--gold);box-shadow:0 10px 28px rgba(11,37,69,.10);}
.price-tag{font-family:'Fraunces',serif;font-weight:700;font-size:36px;color:var(--navy-ink);}
.price-tag span{font-family:'Public Sans',sans-serif;font-weight:600;font-size:15px;color:var(--muted-2);}
.price-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;}
.price-list li{font-size:15.5px;color:var(--muted);padding-left:26px;position:relative;}
.price-list li::before{content:"✓";position:absolute;left:0;color:var(--gold-deep);font-weight:700;}

/* Trust strip — a compact single-line badge row rather than a full
   card section, so the trust message lands without adding a big block
   of extra scrolling (especially on mobile, where three heading+paragraph
   cards would otherwise stack tall). */
.trust-strip{border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:20px 0;}
.trust-badges{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 30px;}
.trust-badges li{font-size:15.5px;font-weight:700;color:var(--navy-ink);display:flex;align-items:center;gap:8px;white-space:nowrap;}
.trust-badges li::before{content:"✓";color:var(--gold-deep);font-weight:700;}
@media(max-width:480px){
  .trust-badges{gap:9px 16px;justify-content:flex-start;}
  .trust-badges li{font-size:14px;white-space:normal;}
}

/* FAQ */
details.faq{border-bottom:1px solid var(--border);padding:18px 0;}
details.faq summary{font-weight:700;font-size:17px;cursor:pointer;list-style:none;}
details.faq summary::-webkit-details-marker{display:none;}
details.faq summary::after{content:"+";float:right;color:var(--gold-deep);font-weight:700;}
details.faq[open] summary::after{content:"–";}
details.faq p{margin-top:12px;font-size:16px;}

/* Footer */
footer{border-top:1px solid var(--border);padding:44px 0 36px;background:var(--surface);}
footer .row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;}
footer .brand{opacity:.9;}
footer nav{display:flex;gap:22px;flex-wrap:wrap;}
footer nav a{font-size:15px;text-decoration:none;color:var(--muted);}
.fine{font-size:13.5px;color:var(--muted-2);margin-top:20px;}

/* Sticky mobile CTA */
.sticky-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:30;
  background:var(--surface);border-top:1px solid var(--border);
  padding:12px 16px;display:none;
}
@media(max-width:820px){.sticky-cta{display:block;} body{padding-bottom:76px;}}

/* Page header (non-home pages) */
.page-hero{padding:52px 0 12px;}
.page-hero h1{font-size:clamp(28px,4.2vw,40px);}

/* Supporting photography — used where a photo stands on its own rather
   than paired in a .split (currently just the infographic, which must
   never be cropped). */
.feature-photo{
  --ar:2/1;
  --ar-mobile:4/3;
  --op:50% 50%;
  display:block; /* kept explicit — a previous version of the infographic
    wrapped an <a> here, and an inline element with padding/background/
    radius fragments into separate per-line boxes, which produced white
    "notch" artifacts at the corners. No longer an <a>, but staying block
    is the safe default for this class either way. */
  margin:0 auto;
  max-width:900px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow:0 10px 28px rgba(11,37,69,.08);
  aspect-ratio:var(--ar);
}
.feature-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:var(--op);
}
.feature-photo-wide{
  max-width:100%;
  aspect-ratio:auto;
  box-shadow:none;
  background:var(--surface);
  padding:14px;
}
.feature-photo-wide img{
  height:auto;
  object-fit:contain;
  border-radius:0;
  display:block;
}
@media(max-width:680px){
  /* .feature-photo-wide (the infographic) must keep aspect-ratio:auto —
     forcing it to --ar-mobile here would lock it into a box taller than
     its actual (very wide) image, letterboxing it inside a big band of
     white padding. Only the fixed-ratio lifestyle photos should pick up
     --ar-mobile on mobile. */
  .feature-photo:not(.feature-photo-wide){aspect-ratio:var(--ar-mobile);}
  .feature-photo{border-radius:12px;}
}

/* Cookie notice — a quiet bottom bar, not a blocking overlay. Sits above
   the mobile sticky CTA (rather than under it) so the two never overlap. */
.cookie-banner{
  position:fixed;left:0;right:0;bottom:0;z-index:40;
  background:var(--navy);border-top:1px solid var(--navy);
  padding:16px 20px;display:none;
}
.cookie-banner.show{display:block;}
.cookie-banner .row{max-width:1160px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;}
.cookie-banner p{color:#fff;margin:0;font-size:14.5px;max-width:640px;}
.cookie-banner a{color:#fff;text-decoration:underline;}
.cookie-actions{display:flex;gap:10px;flex-wrap:wrap;flex:0 0 auto;}
.cookie-actions .btn{padding:10px 18px;font-size:14px;min-height:auto;}
.cookie-actions .btn-primary{background:var(--gold);}
.cookie-actions .btn-secondary{background:transparent;color:#fff;border-color:rgba(255,255,255,.4);}
@media(max-width:820px){
  /* .sticky-cta measures ~87px tall in practice (more than the 76px the
     body padding-bottom assumes) — offset a bit further than that so the
     two bars never overlap. */
  .cookie-banner{bottom:92px;}
  .cookie-banner .row{flex-direction:column;align-items:flex-start;}
}

/* "Book today" offer popup — a single, honest one-time nudge (no fake
   countdowns or scarcity claims). Shown once per browser via localStorage,
   dismissible, never blocks the page underneath. */
.offer-overlay{
  position:fixed;inset:0;z-index:50;
  background:rgba(11,37,69,.55);
  display:none;align-items:center;justify-content:center;padding:20px;
}
.offer-overlay.show{display:flex;}
.offer-modal{
  background:var(--surface);border-radius:18px;max-width:420px;width:100%;
  max-height:90vh;overflow-x:hidden;overflow-y:auto;
  position:relative;text-align:center;
  box-shadow:0 20px 60px rgba(11,37,69,.25);
}
/* Optional image slot — shown only if /assets/images/offer-popup.jpg
   exists; the inline onerror on the <img> hides it cleanly if not, so the
   popup still looks intentional with text alone. A fixed (not aspect-ratio)
   height keeps this a slim banner strip rather than a tall photo — on a
   short phone viewport the rest of the popup (price + button) already
   nearly fills the available 90vh, so a tall image would push the "Claim"
   button below the fold. */
.offer-image{
  width:100%;height:140px;object-fit:cover;
  display:block;margin:0;
}
.offer-body{padding:24px 28px 28px;}
.offer-close{
  position:absolute;top:14px;right:14px;width:36px;height:36px;border-radius:50%;
  border:1px solid var(--border);background:var(--surface);cursor:pointer;z-index:2;
  font-size:20px;line-height:1;display:flex;align-items:center;justify-content:center;color:var(--muted);
  box-shadow:0 2px 8px rgba(11,37,69,.15);
}
.offer-modal h3{font-size:24px;}
.offer-price{font-family:'Fraunces',serif;font-weight:700;font-size:40px;color:var(--navy-ink);margin:16px 0 6px;}
.offer-price .was{font-family:'Public Sans',sans-serif;font-weight:600;font-size:16px;color:var(--muted-2);text-decoration:line-through;margin-left:10px;}
.offer-actions{display:flex;flex-direction:column;gap:10px;margin-top:22px;}
.offer-dismiss{background:none;border:none;color:var(--muted-2);font-size:14.5px;text-decoration:underline;cursor:pointer;padding:6px;}

/* Booking form (/book) — replaces the old straight-to-WhatsApp button.
   No backend on this site, so this posts nowhere on its own; the page's
   own script builds a mailto: link from the field values on submit. */
.book-form{display:flex;flex-direction:column;gap:20px;}
.form-row{display:flex;flex-direction:column;gap:8px;}
.form-row label{font-weight:700;font-size:15.5px;color:var(--navy-ink);}
.form-row input,
.form-row select,
.form-row textarea{
  font:inherit;font-size:16px;padding:14px 16px;border-radius:10px;
  border:1px solid var(--border);background:var(--surface);color:var(--navy-ink);
  width:100%;
}
.form-row textarea{min-height:120px;resize:vertical;}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus{outline:3px solid var(--focus);outline-offset:1px;border-color:var(--gold);}
.form-note{font-size:14.5px;color:var(--muted-2);text-align:center;margin:16px 0 0;}
.form-success{display:none;text-align:center;padding:8px 0 4px;}
.form-success.show{display:block;}

/* "Stay in the loop" mailing-list / waitlist signup, above the footer */
.signup-section{padding:52px 0;}
.signup-box{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start;}
@media(max-width:820px){.signup-box{grid-template-columns:1fr;gap:24px;}}
.signup-image{border-radius:14px;overflow:hidden;margin-bottom:20px;border:1px solid var(--border);box-shadow:0 10px 26px rgba(11,37,69,.08);}
.signup-image img{width:100%;height:auto;display:block;}
.signup-form{
  display:flex;flex-direction:column;gap:12px;
  background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:24px;
}
.signup-form input[type=email],
.signup-form input[type=text]{
  font:inherit;font-size:16px;padding:14px 16px;border-radius:10px;
  border:1px solid var(--border);width:100%;
}
.signup-form input[type=email]:focus,
.signup-form input[type=text]:focus{outline:3px solid var(--focus);outline-offset:1px;border-color:var(--gold);}
.signup-check{display:flex;align-items:center;gap:10px;font-size:15px;color:var(--muted);cursor:pointer;}
.signup-check input{width:18px;height:18px;flex:0 0 auto;}
.form-error{color:#b3261e;font-size:14px;margin:0;}
.signup-section .form-success{text-align:left;padding:0;}
/* Invisible honeypot field on the signup + booking forms: real visitors
   never see or fill this, so a filled value marks the submission as spam
   server-side. Positioned off-screen rather than display:none, since some
   spam bots specifically skip display:none fields. */
.hp-field{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}

/* Tips & Advice articles */
.article-body h2{margin-top:1.4em;}
.article-body ol,
.article-body ul{padding-left:1.3em;margin:0 0 1.2em;}
.article-body li{margin-bottom:12px;font-size:17px;color:var(--muted);}
.article-body li strong{color:var(--navy-ink);}
.article-body p{font-size:17px;}
.tip-card{text-decoration:none;display:block;transition:border-color .15s ease;}
.tip-card:hover{border-color:var(--gold);}
.tip-card h3{color:var(--navy-ink);}
.tip-read-more{display:inline-block;margin-top:6px;font-weight:700;font-size:14.5px;color:var(--gold-deep);}

/* Utility */
.mt-0{margin-top:0;}
.center{text-align:center;}
.mx-auto{margin-left:auto;margin-right:auto;}
