
:root{
  --navy:#0d2a4d;
  --navy-2:#173c69;
  --gold:#c8923b;
  --gold-dark:#b27d29;
  --bg:#f7f8fb;
  --text:#1f2a37;
  --muted:#5c6778;
  --card:#ffffff;
  --border:#e7eaf0;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}
.container{
  width:min(1120px, calc(100% - 32px));
  margin:0 auto;
}
header{
  line-height:1;
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border);
}
nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:360px;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  color:var(--navy);
  min-width:0;
}
.brand img{
  margin:0;height:150px;width:auto;display:block}
.brand-text{display:flex;flex-direction:column;line-height:1.05;min-width:0}
.brand-text strong{
  font-size:1.6rem;
  letter-spacing:.02em;
  color:var(--navy);
  white-space:nowrap;
}
.brand-text span{
  font-size:.92rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gold-dark);
  white-space:nowrap;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
}
.nav-links a{
  text-decoration:none;
  color:var(--navy);
  font-weight:700;
}
.nav-links a:hover,.nav-links a.active{color:var(--gold-dark)}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
  border:none;
  border-radius:12px;
  padding:14px 22px;
  font-size:1rem;
  font-weight:700;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(13,42,77,.12)}
.btn-primary{background:var(--gold);color:#fff}
.btn-primary:hover{background:var(--gold-dark)}
.btn-secondary{background:#fff;color:var(--navy);border:1px solid #cfd7e3}
.hero{
  background:
    linear-gradient(90deg, rgba(247,248,251,0.98) 0%, rgba(247,248,251,0.92) 42%, rgba(247,248,251,0.30) 72%, rgba(247,248,251,0.12) 100%),
    radial-gradient(circle at 80% 20%, rgba(200,146,59,0.18), transparent 24%),
    linear-gradient(135deg, #eef2f7 0%, #f8fafc 100%);
  border-bottom:1px solid var(--border);
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:28px;
  align-items:center;
  min-height:560px;
  padding:44px 0;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--navy);
  font-weight:700;
  background:#eef3fa;
  padding:10px 14px;
  border-radius:999px;
  margin-bottom:16px;
}
.hero h1,.page-hero h1{
  margin:0 0 14px;
  font-size:clamp(1.2rem,2.2vw,1.8rem);
  line-height:1.06;
  color:var(--navy);
}
.lead{
  font-size:0.98rem;
  color:var(--muted);
  max-width:58ch;
  margin:0 0 18px;
}
.hero-cta{display:flex;flex-wrap:wrap;gap:14px;margin:22px 0 14px}
.hero-note{color:var(--navy);font-weight:700}
.hero-visual,.page-visual{
  position:relative;
  min-height:440px;
  border-radius:28px;
  overflow:hidden;
  background:
    linear-gradient(180deg, rgba(13,42,77,0.10), rgba(13,42,77,0.18)),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.48), transparent 25%),
    linear-gradient(135deg, #ffffff 0%, #f2f5f9 100%);
  box-shadow:0 30px 60px rgba(13,42,77,0.16);
  border:1px solid rgba(13,42,77,0.08);
}
.visual-label{
  position:absolute;
  left:28px;
  bottom:24px;
  background:rgba(255,255,255,.92);
  color:var(--navy);
  padding:12px 16px;
  border-radius:14px;
  font-weight:700;
  box-shadow:0 10px 20px rgba(13,42,77,.08);
}
.page-hero{
  padding:54px 0 20px;
  background:linear-gradient(180deg,#f8fafc,#eef2f7);
  border-bottom:1px solid var(--border);
}
.page-grid{
  display:grid;
  grid-template-columns:1fr .9fr;
  gap:28px;
  align-items:center;
  padding-bottom:42px;
}
.section{padding:72px 0}
.section h2{margin:0 0 14px;font-size:clamp(1.8rem,3vw,2.5rem);color:var(--navy);line-height:1.15}
.section-intro{color:var(--muted);max-width:66ch;margin-bottom:26px;font-size:1.06rem}
.grid-2,.grid-3,.grid-4{display:grid;gap:22px}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:22px;
  padding:26px;
  box-shadow:0 14px 30px rgba(13,42,77,.06);
}
.card h3{margin:0 0 10px;color:var(--navy);font-size:1.3rem}
.card p,.card li{color:var(--muted)}
.icon{
  width:76px;height:76px;border-radius:18px;display:grid;place-items:center;
  color:var(--navy);
  background:linear-gradient(135deg, rgba(200,146,59,.16), rgba(13,42,77,.08));
  font-size:1.9rem;margin-bottom:16px
}
.split{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}
.band{
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color:#fff;
}
.band .container{padding:24px 0}
.band-grid{display:grid;grid-template-columns:1fr auto auto;gap:26px;align-items:center}
.band h3{margin:0 0 6px;font-size:1.5rem}
.band p{margin:0;color:rgba(255,255,255,.86)}
.checklist{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:10px}
.checklist li{display:flex;gap:10px;align-items:flex-start}
.faq{display:grid;gap:16px}
.faq-item{
  background:#fff;border:1px solid var(--border);border-radius:18px;padding:22px 24px;
}
.faq-item h3{margin:0 0 8px;color:var(--navy);font-size:1.16rem}
.contact-panel{
  background:#fff;border:1px solid var(--border);border-radius:28px;padding:28px;
  box-shadow:0 14px 30px rgba(13,42,77,.06);display:grid;grid-template-columns:1.1fr .9fr;gap:24px
}
.contact-box{
  padding:18px 20px;border-radius:18px;background:#f7f9fc;border:1px solid var(--border);margin-top:16px;
}
.contact-box strong{color:var(--navy);display:block;margin-bottom:6px}
.contact-box a{color:var(--navy);text-decoration:none;font-weight:700}
.cta-card{
  background:linear-gradient(135deg, rgba(200,146,59,0.14), rgba(13,42,77,0.08));
  border:1px solid #eadfcd;border-radius:24px;padding:24px;
}
.map-card{
  background:#fff;border:1px solid var(--border);border-radius:24px;overflow:hidden;
  box-shadow:0 14px 30px rgba(13,42,77,.08);
}
.map-card iframe{display:block;width:100%;height:100%;min-height:360px;border:0}
footer{
  background:#0b2441;color:#fff;padding:34px 0 90px;margin-top:20px;
}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr auto;gap:20px;align-items:start}
footer p{margin:0 0 8px;color:rgba(255,255,255,.86)}
footer strong{color:#fff;font-size:1.35rem;display:block;margin-bottom:10px}
.footer-badge{
  display:inline-flex;align-items:center;gap:10px;padding:12px 16px;border-radius:999px;
  background:rgba(255,255,255,0.08);font-weight:700;
}
.mobile-contact{
  position:fixed;left:12px;right:12px;bottom:12px;z-index:1200;display:none;justify-content:center;
}
.mobile-contact a{
  width:min(420px,100%);text-align:center;padding:16px 20px;border-radius:16px;
  text-decoration:none;font-weight:800;background:var(--gold);color:#fff;box-shadow:0 16px 34px rgba(13,42,77,.20);
}
@media (max-width:1080px){
  .hero-grid,.split,.contact-panel,.footer-grid,.band-grid,.page-grid{grid-template-columns:1fr}
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .grid-3{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  nav{flex-direction:column;align-items:flex-start;padding:12px 0}
  .nav-links{gap:14px}
  .brand img{
  margin:0;height:90px}
  .brand-text strong{font-size:1.16rem}
  .brand-text span{font-size:.76rem;letter-spacing:.1em}
  .hero-grid{min-height:auto;padding:30px 0}
  .hero-visual,.page-visual{min-height:260px}
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
  .section{padding:58px 0}
  .mobile-contact{display:flex}
  footer{padding-bottom:110px}
}


form{
  display:grid;
  gap:16px;
  margin-top:22px;
}
label{
  font-weight:700;
  color:var(--navy);
  margin-bottom:4px;
}
input, select, textarea{
  width:100%;
  padding:14px 16px;
  border:1px solid #cfd7e3;
  border-radius:14px;
  font:inherit;
  color:var(--text);
  background:#fff;
}
textarea{
  min-height:300px;
  resize:vertical;
}
input:focus, select:focus, textarea:focus{
  outline:none;
  border-color:var(--gold);
  box-shadow:0 0 0 4px rgba(200,146,59,.14);
}
.checkbox-row{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:16px 18px;
  background:#f7f9fc;
  border:1px solid var(--border);
  border-radius:16px;
}
.checkbox-row input{
  width:auto;
  margin-top:4px;
}
.small{
  font-size:.95rem;
  color:var(--muted);
}
.legal-list{
  padding-left:22px;
}
.legal-list li{
  margin-bottom:8px;
}


img{max-width:100%;height:auto}
.trust-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:24px;
}
.trust-item{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:20px;
  text-align:center;
  box-shadow:0 10px 24px rgba(13,42,77,.05);
}
.trust-item p{margin:8px 0 0}
.steps{
  display:grid;
  gap:18px;
}
.step{
  display:flex;
  gap:16px;
  align-items:flex-start;
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:20px;
}
.step-number{
  width:42px;
  height:42px;
  border-radius:50%;
  background:var(--gold);
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:700;
  flex:0 0 auto;
}
.consultation-banner{
  background:linear-gradient(135deg, rgba(200,146,59,.14), rgba(13,42,77,.08));
  border:1px solid #eadfcd;
  border-radius:24px;
  padding:26px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}
.inline-badges{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:16px;
}
.inline-badges span{
  background:#eef3fa;
  color:var(--navy);
  border-radius:999px;
  padding:10px 14px;
  font-weight:700;
}
@media (max-width:760px){
  .trust-strip{grid-template-columns:1fr 1fr}
  .consultation-banner{flex-direction:column;align-items:flex-start}
}


.brand{
  gap:0;
}
.brand-text{
  display:none !important;
}
@media (max-width:760px){
  nav{
    min-height:auto;
  }
}


/* Real image panels */
.hero-visual,
.page-visual{
  background:#e9eef6;
  box-shadow:0 30px 60px rgba(13,42,77,0.16);
  border:1px solid rgba(13,42,77,0.08);
}
.hero-visual{
  background-image:linear-gradient(180deg, rgba(13,42,77,0.10), rgba(13,42,77,0.18)), url("hero-bookkeeping.jpg");
  background-size:cover;
  background-position:center;
  min-height:500px;
}
.page-visual{
  background-image:linear-gradient(180deg, rgba(13,42,77,0.08), rgba(13,42,77,0.16)), url("desk-laptop-calculator.jpg");
  background-size:cover;
  background-position:center;
  min-height:360px;
}
.visual-label{
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(4px);
}
.map-card{
  position:relative;
}
.map-card::before{
  content:"";
  display:block;
  height:330px;
  background-image:linear-gradient(180deg, rgba(13,42,77,0.08), rgba(13,42,77,0.16)), url("calculator-notebook-closeup.jpg");
  background-size:cover;
  background-position:center;
  border-bottom:1px solid var(--border);
}
@media (max-width:760px){
  .hero-visual{
    min-height:340px;
  }
  .page-visual{
    min-height:260px;
  }
  .map-card::before{
    height:160px;
  }
}


/* Premium refinement pass */
header{
  line-height:1;
  box-shadow:0 8px 24px rgba(13,42,77,.06);
}
nav{
  gap:28px;
}
.brand{
  align-items:center;
}
.brand img{
  margin:0;
  filter: drop-shadow(0 8px 16px rgba(13,42,77,.10));
}
.nav-links{
  gap:26px;
}
.nav-links a{
  letter-spacing:.01em;
}
.hero{
  position:relative;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(247,248,251,0.92) 0%, rgba(247,248,251,0.82) 42%, rgba(247,248,251,0.18) 72%, rgba(247,248,251,0.08) 100%);
  pointer-events:none;
}
.hero-grid{
  position:relative;
  z-index:1;
  gap:40px;
  min-height:620px;
}
.hero h1{
  line-height:1.15;
  max-width:22ch;
  margin-bottom:18px;
  letter-spacing:-0.02em;
}
.lead{
  max-width:52ch;
  margin-bottom:22px;
}
.hero-cta{
  margin:26px 0 18px;
}
.hero-note{
  display:inline-block;
  padding:10px 14px;
  border-radius:999px;
  background:#eef3fa;
  border:1px solid var(--border);
}
.section{
  padding:78px 0;
}
.section h2{
  margin-bottom:16px;
  letter-spacing:-0.01em;
}
.card{
  border-radius:24px;
  box-shadow:0 16px 34px rgba(13,42,77,.07);
}
.card:hover{
  transform:translateY(-4px);
}
.trust-item,
.step,
.faq-item,
.contact-box{
  box-shadow:0 10px 24px rgba(13,42,77,.05);
}
.consultation-banner{
  box-shadow:0 20px 40px rgba(13,42,77,.08);
}
.btn{
  border-radius:14px;
}
.btn-primary{
  box-shadow:0 12px 26px rgba(200,146,59,.24);
}
.footer-badge{
  box-shadow:0 10px 22px rgba(0,0,0,.12);
}
@media (max-width:1080px){
  .hero-grid{
    min-height:auto;
    gap:28px;
  }
}
@media (max-width:760px){
  nav{
    gap:16px;
  }
  .brand img{
  margin:0;
    height:250px !important;
    width:auto;
  }
  .hero-grid{
    gap:22px;
    padding:24px 0 34px;
  }
  .hero h1{
  line-height:1.15;
    max-width:none;
    line-height:1.08;
  }
  .section{
    padding:58px 0;
  }
}


/* Header redesign with centered logo and mobile hamburger menu */
header{
  line-height:1;
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.98);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border);
  box-shadow:0 8px 24px rgba(13,42,77,.06);
}
.top-brand{
  display:flex;
  justify-content:center;
  align-items:center;
  padding:4px 0 0;
}
.brand{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:0;
}
.brand img{
  margin:0;
  height:360px;
  width:auto;
  max-width:min(90vw, 560px);
  filter:drop-shadow(0 8px 16px rgba(13,42,77,.10));
}
.nav-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  padding:0 0 6px;
}
nav{
  min-height:auto !important;
}
.nav-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  flex-wrap:wrap;
}
.menu-toggle{
  display:none;
  width:52px;
  height:52px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  padding:0;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(13,42,77,.08);
}
.menu-toggle span{
  display:block;
  width:22px;
  height:2px;
  margin:5px auto;
  background:var(--navy);
  border-radius:2px;
}
@media (max-width:760px){
  .top-brand{
    padding:12px 0 6px;
  }
  .brand img{
  margin:0;
    height:250px !important;
    max-width:88vw;
  }
  .nav-wrap{
    justify-content:flex-start;
    padding:0 0 12px;
  }
  .menu-toggle{
    display:block;
  }
  nav{
    width:100%;
    display:none;
  }
  nav.open{
    display:block;
  }
  .nav-links{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding-top:12px;
  }
  .nav-links a,
  .nav-links .btn{
    width:100%;
    text-align:center;
    justify-content:center;
  }
}


/* Typography refinement for cleaner professional feel */
body{
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

h1{
  letter-spacing:-0.02em;
}

h2{
  letter-spacing:-0.01em;
}

.section-intro{
  max-width:720px;
  margin-left:auto;
  margin-right:auto;
}

.hero h1{
  font-weight:600;
}

.nav-links a{
  font-weight:500;
}




/* FINAL POLISH TWEAKS */

/* Reduce empty space around large logo */
.top-brand{
  padding:2px 0 0;
}

.nav-wrap{
  padding:0 0 4px;
}

/* Ensure header doesn't dominate screen */
header{
  line-height:1;
}

/* Better fit for service icons/images */
.icon{
  width:80px;
  height:80px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f4f6fa;
  border-radius:16px;
  margin-bottom:14px;
}

.icon img{
  max-width:70%;
  max-height:70%;
  object-fit:contain;
}

/* Improve hero heading balance */
.hero h1{
  line-height:1.15;
  letter-spacing:-0.02em;
}

/* Improve service card consistency */
.card h3{
  min-height:48px;
}

/* Slightly tighten homepage spacing */
.section{
  padding:80px 0;
}



/* HEADER ADJUSTMENTS REQUESTED */

/* Remove sticky header so it scrolls normally */
header{
  position:relative !important;
  top:auto !important;
}

/* Reduce white space around logo (~1cm total visual padding) */
.top-brand{
  padding:6px 0 4px !important;
}

.nav-wrap{
  padding:4px 0 6px !important;
}

/* Ensure navigation spacing stays compact */
.nav-links{
  margin-top:4px;
}


/* Improve contrast for service cards (VAT / MTD etc) */
.card{
  background:#f2f5fb;
  border:1px solid #e4e9f2;
}

.card:hover{
  background:#eef2f9;
}

.icon{
  background:#e9eef7;
}

/* Tight logo + navigation spacing */
header{
  margin:0;
  padding:0;
}

.top-brand{
  padding:2px 0 0 !important;
  margin:0;
}

.brand img{
  display:block;
  margin:0 auto;
}

.nav-wrap{
  padding:2px 0 4px !important;
  margin:0;
}

.nav-links{
  margin-top:0 !important;
}

/* Prevent logo stretching */
.brand img{
  width:auto !important;
  height:220px;
  max-width:100%;
  object-fit:contain;
}


/* Final hero contrast improvement */
.hero::after{
  background:linear-gradient(90deg, rgba(247,248,251,0.95) 0%, rgba(247,248,251,0.88) 38%, rgba(247,248,251,0.28) 70%, rgba(247,248,251,0.12) 100%) !important;
}

/* Keep location badges on one cleaner line where space allows */
.inline-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.inline-badges.condensed{
  gap:8px;
}
.inline-badges.condensed span{
  white-space:nowrap;
  padding:8px 12px;
  font-size:.95rem;
}


/* FINAL HEADER REBUILD */
header{
  position:relative !important;
  top:auto !important;
  margin:0;
  padding:0;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid var(--border);
  box-shadow:0 8px 24px rgba(13,42,77,.06);
  line-height:1;
}
.header-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding:4px 0 0;
}
.brand{
  display:inline-flex;
  align-items:flex-start;
  text-decoration:none;
  flex:0 0 auto;
}
.brand img{
  display:block;
  width:auto !important;
  height:240px;
  max-width:min(62vw, 520px);
  object-fit:contain;
  margin:0;
}
.header-tagline{
  flex:1 1 auto;
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
  padding-top:20px;
  font-size:1rem;
  font-weight:600;
  color:var(--gold-dark);
  letter-spacing:.01em;
  text-align:right;
}
.nav-row{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 0 8px;
  margin-top:-6px;
}
nav{
  min-height:auto !important;
  display:block;
}
.nav-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  flex-wrap:wrap;
  margin-top:0 !important;
}
.nav-links a{
  position:relative;
  text-decoration:none;
  color:var(--navy);
  font-weight:600;
  letter-spacing:.01em;
  transition:color .2s ease;
}
.nav-links a:not(.btn)::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:100%;
  height:2px;
  background:var(--gold);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .2s ease;
}
.nav-links a:not(.btn):hover::after,
.nav-links a.active:not(.btn)::after{
  transform:scaleX(1);
}
.nav-links a:hover,
.nav-links a.active{
  color:var(--gold-dark);
}
.menu-toggle{
  display:none;
  width:48px;
  height:48px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  padding:0;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(13,42,77,.08);
}
.menu-toggle span{
  display:block;
  width:22px;
  height:2px;
  margin:5px auto;
  background:var(--navy);
  border-radius:2px;
}
@media (max-width:980px){
  .brand img{
    height:220px;
    max-width:min(64vw, 460px);
  }
  .header-tagline{
    padding-top:18px;
    font-size:.95rem;
  }
  .nav-links{
    gap:18px;
  }
}
@media (max-width:760px){
  .header-top{
    align-items:flex-start;
    gap:10px;
    padding:2px 0 0;
  }
  .brand img{
    height:170px !important;
    max-width:58vw;
  }
  .header-tagline{
    padding-top:12px;
    font-size:.85rem;
    line-height:1.25;
    max-width:38vw;
  }
  .nav-row{
    justify-content:flex-start;
    padding:0 0 8px;
    margin-top:-4px;
  }
  .menu-toggle{
    display:block;
  }
  nav{
    width:100%;
    display:none;
  }
  nav.open{
    display:block;
  }
  .nav-links{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding-top:10px;
  }
  .nav-links a,
  .nav-links .btn{
    width:100%;
    text-align:center;
    justify-content:center;
  }
  .nav-links a:not(.btn)::after{
    display:none;
  }
}


/* Subtle divider band below hero */
.hero-divider{
  border-top:1px solid #e6e9f0;
  border-bottom:1px solid #e6e9f0;
  background:#fafbfc;
  padding:16px 0;
  text-align:center;
}

.hero-divider-text{
  font-weight:600;
  color:var(--gold-dark);
  letter-spacing:.02em;
  margin:0;
}


/* Readability and premium polish tweaks */
p{
  line-height:1.7;
}

.section-intro,
.split p,
.card p{
  max-width:720px;
}

/* Bottom CTA section */
.home-cta{
  padding:26px 0 10px;
}
.home-cta .cta-box{
  background:linear-gradient(135deg, rgba(200,146,59,.14), rgba(13,42,77,.08));
  border:1px solid #eadfcd;
  border-radius:24px;
  padding:28px;
  text-align:center;
  box-shadow:0 18px 34px rgba(13,42,77,.08);
}
.home-cta .cta-box h2{
  margin-bottom:10px;
}
.home-cta .cta-box p{
  margin:0 auto 18px;
  max-width:760px;
}


/* Subtle alternating section backgrounds */
.section.alt{
  background:#fafbfc;
}


/* Header navigation divider refinement */
.nav-row{
  border-top:1px solid #eceff3;
  padding-top:10px;
}


/* Final header tagline alignment tweak */
.header-tagline{
  align-items:center !important;
  justify-content:flex-end;
  font-size:1.1rem !important;
  font-weight:600;
  letter-spacing:0.02em;
  text-align:right;
  padding-top:0 !important;
}

/* Final services card equal-height refinement */
.grid-3,
.grid-4{
  align-items:stretch;
}

.grid-3 .card,
.grid-4 .card{
  height:100%;
}

.grid-3 .card h3,
.grid-4 .card h3{
  min-height:52px;
}

.grid-3 .card p,
.grid-4 .card p{
  margin-bottom:0;
}


/* Tagline alignment and responsive sizing fix */
.header-top{
  display:flex;
  align-items:center; /* vertically center logo and tagline */
}

.header-tagline{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  font-size:1.1rem;
  padding-top:0 !important;
}

/* Smaller tagline on mobile */
@media (max-width:760px){
  .header-tagline{
    font-size:0.9rem !important;
    line-height:1.3;
  }
}


/* Mobile optimisation refinements */
@media (max-width:760px){
  /* 1. Shorter header/hero on mobile */
  .brand img{
    height:130px !important;
    max-width:52vw;
  }
  .header-top{
    gap:8px;
    padding:2px 0 0;
  }
  .nav-row{
    padding:0 0 6px;
    margin-top:0;
  }
  .hero{
    padding:28px 0 36px;
  }
  .hero-grid{
    gap:18px;
    min-height:auto;
    padding:18px 0 24px;
  }
  .hero h1{
    font-size:1.5rem !important;
    line-height:1.15;
    max-width:12ch;
    margin-bottom:12px;
  }
  .lead{
    font-size:0.95rem !important;
    line-height:1.55;
    max-width:100%;
    margin-bottom:16px;
  }

  /* 2. Stack service cards vertically on mobile */
  .grid-3 .card{
    display:block !important;
  }
  .grid-3 .card .icon{
    width:64px;
    height:64px;
    margin-bottom:12px !important;
  }
  .grid-3 .card h3{
    min-height:0 !important;
    margin:0 0 8px;
  }

  /* 3. Tighter section spacing on mobile */
  .section{
    padding:48px 0 !important;
  }

  /* 4. Simpler tagline on mobile */
  .header-tagline{
    font-size:0.85rem !important;
    line-height:1.25;
    max-width:36vw;
  }
  .header-tagline::before{
    content:"Supporting Ayrshire businesses";
  }
  .header-tagline{
    color:transparent;
  }
  .header-tagline::before{
    color:var(--gold-dark);
  }

  /* Better tap spacing in mobile menu */
  .nav-links a,
  .nav-links .btn{
    padding:14px 16px;
    font-size:1rem;
  }
}


/* Reduce empty space around logo */
.header-top{
  padding:0 !important;
  margin:0 !important;
}

.brand{
  margin:0;
  padding:0;
}

.brand img{
  margin:0;
  display:block;
}

.nav-row{
  margin-top:0 !important;
  padding-top:6px !important;
}


/* Micro adjustment: tighten header-to-hero balance */
.hero{
  margin-top:-8px;
  padding-top:48px;
}


/* Tighten logo-to-navigation spacing */
.header-top{
  gap:16px !important;
  padding:0 !important;
  margin-bottom:-6px !important;
}

.nav-row{
  padding-top:6px !important;
  margin-top:-4px !important;
}


/* Tagline spacing refinements */
.header-tagline{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  font-size:1.2rem !important;
  font-weight:600;
  letter-spacing:0.02em;
  color:var(--gold-dark);
  margin-right:24px;
  padding-top:4px;
}

@media (max-width:760px){
  .header-tagline{
    font-size:0.85rem !important;
    line-height:1.25;
    margin-left:auto;
    padding-left:16px;
    text-align:right;
    max-width:55%;
    margin-right:0;
  }
}


/* Footer site credit */
.site-credit{
  font-size:0.85rem;
  color:#777;
  margin-top:10px;
  text-align:center;
}
.site-credit a{
  color:#777;
  text-decoration:none;
}
.site-credit a:hover{
  text-decoration:underline;
}


/* Service block styling */
.service-block{
background:#fafbfc;
border:1px solid #eceff3;
border-radius:12px;
padding:22px 24px;
margin-bottom:18px;
}


/* ===== Final visual polish ===== */

/* Navigation alignment */
.nav-links{
  align-items:center;
}

/* Hero spacing rhythm */
.hero h1{
  margin-bottom:16px;
}
.hero .lead{
  margin-bottom:20px;
}

/* Service card alignment */
.grid-3 .card{
  align-items:flex-start;
}

/* Section spacing consistency */
.section{
  padding:60px 0;
}

/* CTA emphasis */
.home-cta{
  padding:40px 0;
}

/* Footer balance */
footer{
  padding:36px 0;
}

/* Mobile text width improvement */
@media (max-width:760px){
  .lead{
    max-width:100%;
  }
}


/* Heading consistency for content pages */
.page-content h1,
.page-content h2{
  font-size:2rem;
  line-height:1.2;
  letter-spacing:0.01em;
  color:var(--navy);
  margin:0 0 14px;
}

.page-content h2{
  margin-top:28px;
}

@media (max-width:760px){
  .page-content h1,
  .page-content h2{
    font-size:1.55rem;
  }
}


/* Content page heading consistency */
.page-content h1,
.page-content h2{
  font-size:2rem !important;
  line-height:1.2;
  letter-spacing:0.01em;
  color:var(--navy);
  margin:0 0 14px;
  font-weight:700;
}

.page-content h2{
  margin-top:30px;
  padding-bottom:0 !important;
}

.page-content h2::after{
  display:none !important;
  content:none !important;
}

@media (max-width:760px){
  .page-content h1,
  .page-content h2{
    font-size:1.55rem !important;
  }
}


/* Premium homepage service cards */
.grid-3 .card{
  display:grid;
  grid-template-columns:72px 1fr;
  column-gap:18px;
  row-gap:6px;
  align-items:start;
  background:#ffffff;
  border:1px solid #e6e8ec;
  border-radius:18px;
  padding:28px;
  box-shadow:0 6px 18px rgba(0,0,0,0.05);
  transition:all 0.2s ease;
}

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

.grid-3 .card .icon{
  grid-row:1 / span 2;
  flex:0 0 auto;
  width:72px;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f4f6f8;
  border-radius:14px;
  margin:0;
}

.grid-3 .card .icon svg{
  width:40px;
  height:40px;
  color:var(--navy);
}

.grid-3 .card h3{
  margin:4px 0 6px;
  min-height:0;
  font-size:1.25rem;
}

.grid-3 .card p{
  margin:0;
  line-height:1.6;
  max-width:none;
}

@media (max-width:768px){
  .grid-3 .card{
    grid-template-columns:64px 1fr;
    column-gap:16px;
    padding:24px;
  }

  .grid-3 .card .icon{
    width:64px;
    height:64px;
  }

  .grid-3 .card .icon svg{
    width:36px;
    height:36px;
  }

  .grid-3 .card h3{
    font-size:1.15rem;
  }
}


/* Final UK wording and layout consistency */
.page-content h1,
.page-content h2{
  font-size:2rem !important;
  line-height:1.2;
  letter-spacing:0.01em;
  color:var(--navy);
  margin:0 0 14px;
  font-weight:700;
}
.page-content h2{
  margin-top:30px;
  padding-bottom:0 !important;
}
.page-content h2::after{
  display:none !important;
  content:none !important;
}

.service-panel{
  background:#ffffff;
  border:1px solid #e6e8ec;
  border-radius:18px;
  padding:28px;
  box-shadow:0 6px 18px rgba(0,0,0,0.05);
  transition:all 0.2s ease;
}
.service-panel:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
}
.service-panel .icon{
  width:72px;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f4f6f8;
  border-radius:14px;
  margin-bottom:14px;
}
.service-panel .icon svg{
  width:40px;
  height:40px;
  color:var(--navy);
}
.service-panel h3{
  margin:4px 0 8px;
  min-height:0;
}
.service-panel p{
  max-width:none;
  margin:0 0 12px;
}
.service-panel ul{
  margin:0;
  padding-left:20px;
}
.service-panel li{
  margin:0 0 6px;
}

.grid-3 .card{
  display:grid;
  grid-template-columns:72px 1fr;
  column-gap:18px;
  row-gap:6px;
  align-items:start;
  background:#ffffff;
  border:1px solid #e6e8ec;
  border-radius:18px;
  padding:28px;
  box-shadow:0 6px 18px rgba(0,0,0,0.05);
  transition:all 0.2s ease;
}
.grid-3 .card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
}
.grid-3 .card .icon{
  grid-row:1 / span 2;
  width:72px;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f4f6f8;
  border-radius:14px;
  margin:0;
}
.grid-3 .card .icon svg{
  width:40px;
  height:40px;
  color:var(--navy);
}
.grid-3 .card h3{
  margin:4px 0 6px;
  min-height:0;
  font-size:1.25rem;
}
.grid-3 .card p{
  margin:0;
  line-height:1.6;
  max-width:none;
}

@media (max-width:768px){
  .header-top{
    flex-direction:column;
    align-items:flex-start !important;
    gap:6px !important;
    padding:0 !important;
    margin-bottom:0 !important;
  }
  .brand img{
    height:120px !important;
    max-width:78vw !important;
    width:auto !important;
  }
  .header-tagline{
    display:block !important;
    font-size:0.9rem !important;
    line-height:1.3 !important;
    max-width:240px !important;
    margin:0 0 0 auto !important;
    padding:0 !important;
    text-align:right !important;
    align-self:flex-end !important;
  }
  .nav-row{
    margin-top:6px !important;
    padding-top:8px !important;
    width:100%;
  }
  .hero{
    margin-top:0 !important;
    padding-top:28px !important;
    padding-bottom:34px !important;
  }
  .hero-grid{
    gap:16px !important;
    padding:0 !important;
  }
  .eyebrow{
    font-size:0.84rem !important;
    padding:8px 12px !important;
    display:inline-flex !important;
    max-width:100%;
  }
  .hero h1{
    font-size:2rem !important;
    line-height:1.15 !important;
    max-width:320px !important;
    margin-bottom:14px !important;
  }
  .lead{
    font-size:1rem !important;
    line-height:1.55 !important;
    max-width:100% !important;
    margin-bottom:18px !important;
  }
  .hero-cta{
    margin-top:18px !important;
    margin-bottom:8px !important;
    gap:12px !important;
  }
  .hero-cta .btn{
    width:100%;
  }
  .grid-3 .card{
    grid-template-columns:64px 1fr;
    column-gap:16px;
    padding:24px;
  }
  .grid-3 .card .icon{
    width:64px;
    height:64px;
  }
  .grid-3 .card .icon svg{
    width:36px;
    height:36px;
  }
  .service-panel{
    padding:24px;
  }
  .service-panel .icon{
    width:64px;
    height:64px;
  }
  .service-panel .icon svg{
    width:36px;
    height:36px;
  }
  .page-content h1,
  .page-content h2{
    font-size:1.55rem !important;
  }
}


/* Mobile header rebalance: prioritise logo over tagline */
@media (max-width:768px){
  .brand img{
    height:150px !important;
    max-width:82vw !important;
    width:auto !important;
  }

  .header-tagline{
    font-size:0.72rem !important;
    line-height:1.2 !important;
    font-weight:600 !important;
    max-width:190px !important;
    margin:2px 0 0 auto !important;
    text-align:right !important;
    letter-spacing:0.01em !important;
    color:var(--gold-dark) !important;
  }

  .header-tagline::before{
    content:none !important;
    display:none !important;
  }

  .header-top{
    gap:2px !important;
  }
}


/* Mobile CTA and menu refinement */
@media (max-width:768px){
  /* Fix overlapping hero CTA buttons */
  .hero-cta{
    display:flex !important;
    flex-direction:column !important;
    gap:14px !important;
    margin-top:22px !important;
    margin-bottom:18px !important;
  }

  .hero-cta .btn{
    width:100% !important;
    display:block !important;
    padding:14px 22px !important;
  }

  .hero-cta .btn + .btn{
    background:#fff !important;
    border:2px solid #c8923b !important;
    color:#c8923b !important;
    box-shadow:none !important;
  }

  /* Move hamburger into the grey/nav area and remove empty space above */
  .nav-row{
    margin-top:0 !important;
    padding:8px 0 8px !important;
    justify-content:flex-start !important;
    border-top:1px solid #eceff3;
    background:transparent;
  }

  .menu-toggle{
    display:block !important;
    margin:0 !important;
    position:relative;
    left:0;
  }

  /* Left-justified dropdown directly below the button */
  nav{
    width:100%;
    display:none;
    margin-top:10px;
  }

  nav.open{
    display:block !important;
  }

  .nav-links{
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:8px !important;
    padding-top:0 !important;
    width:100%;
  }

  .nav-links a,
  .nav-links .btn{
    width:100% !important;
    text-align:left !important;
    justify-content:flex-start !important;
    padding:14px 16px !important;
    border-radius:12px;
  }

  .nav-links .btn{
    color:#fff !important;
    border:none !important;
  }
}


/* Mobile header compact redesign */
@media (max-width:768px){
  header{
    padding-top:0 !important;
    padding-bottom:0 !important;
  }

  .header-top{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:0 !important;
    padding:0 !important;
    margin:0 !important;
  }

  .brand{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    width:100%;
    margin:0 !important;
    padding:0 !important;
  }

  .brand img{
    display:block !important;
    width:min(88vw, 420px) !important;
    max-width:88vw !important;
    height:auto !important;
    margin:0 auto !important;
  }

  .header-tagline{
    display:block !important;
    width:100% !important;
    max-width:88vw !important;
    margin:-2px auto 2px auto !important;
    padding:0 !important;
    text-align:center !important;
    font-size:0.82rem !important;
    line-height:1.2 !important;
    letter-spacing:0.01em !important;
  }

  .nav-row{
    width:100% !important;
    margin-top:2px !important;
    padding:4px 0 6px !important;
    justify-content:flex-start !important;
  }

  .menu-toggle{
    margin:0 !important;
  }
}
