/*
Theme Name: Reeves Accountants
Theme URI: https://reeves-tax.com
Author: Reeves Chartered Certified Accountants
Author URI: https://reeves-tax.com
Description: Custom WordPress theme for Reeves Chartered Certified Accountants, an ACCA-qualified UK accounting practice offering accounting, tax, payroll, bookkeeping, company secretarial and business advisory services.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: reeves
*/

/* ==========================================================================
   Variables
   ========================================================================== */
:root{
  --navy:#0b2a4a;
  --navy-dark:#081d33;
  --gold:#c9973a;
  --gold-light:#e3b563;
  --ink:#1c2733;
  --grey:#5b6672;
  --grey-light:#f4f6f8;
  --border:#e3e7eb;
  --white:#ffffff;
  --radius:10px;
  --shadow:0 10px 30px rgba(11,42,74,0.08);
  --maxw:1290px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:var(--white);
  line-height:1.65;
  font-size:16px;
}
html{overflow-x:hidden;}
img{max-width:100%;height:auto;display:block;}
a{color:var(--navy);text-decoration:none;}
a:hover{color:var(--gold);}
ul{margin:0;padding:0;}
h1,h2,h3,h4,h5{font-weight:700;line-height:1.25;margin:0 0 16px;color:var(--navy);}
h1{font-size:clamp(2rem,4vw,3rem);}
h2{font-size:clamp(1.6rem,3vw,2.3rem);}
h3{font-size:1.25rem;}
p{margin:0 0 16px;color:var(--grey);}
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px;}
section{padding:80px 0;}
.section-tight{padding:56px 0;}
.bg-light{background:var(--grey-light);}
.bg-navy{background:var(--navy);color:var(--white);}
.bg-navy h1,.bg-navy h2,.bg-navy h3,.bg-navy p{color:var(--white);}
.bg-navy p{color:rgba(255,255,255,0.78);}
.eyebrow{
  display:inline-block;
  color:var(--gold);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1px;
  font-size:.8rem;
  margin-bottom:10px;
}
.section-head{max-width:720px;margin:0 auto 48px;text-align:center;}
.section-head p{font-size:1.05rem;}
.center{text-align:center;}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 28px;
  border-radius:999px;
  font-weight:700;
  font-size:.95rem;
  border:2px solid transparent;
  cursor:pointer;
  transition:all .2s ease;
}
.btn-primary{background:var(--gold);color:var(--navy);}
.btn-primary:hover{background:var(--gold-light);color:var(--navy);}
.btn-outline{border-color:rgba(255,255,255,0.5);color:var(--white);background:transparent;}
.btn-outline:hover{background:rgba(255,255,255,0.12);color:var(--white);}
.btn-navy{background:var(--navy);color:var(--white);}
.btn-navy:hover{background:var(--navy-dark);color:var(--white);}
.btn-block{width:100%;justify-content:center;}

/* ==========================================================================
   Header
   ========================================================================== */
.top-bar{
  background:var(--navy-dark);
  color:rgba(255,255,255,0.85);
  font-size:.85rem;
}
.top-bar .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:8px;
  padding-bottom:8px;
  flex-wrap:wrap;
  gap:8px;
}
.top-bar a{color:rgba(255,255,255,0.85);}
.top-bar a:hover{color:var(--gold-light);}
.top-bar-info{display:flex;gap:20px;flex-wrap:wrap;}
.top-bar-info span{display:inline-flex;align-items:center;gap:6px;}

.site-header{
  background:var(--white);
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:100;
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:0;
  padding-top:14px;
  padding-bottom:14px;
}
.site-branding{display:flex;align-items:center;gap:10px;flex:0 0 auto;}
.site-branding a{display:flex;align-items:center;gap:10px;color:var(--navy);}
.site-branding img{height:117px;width:auto;max-width:none;}
.site-logo-dark-mode{display:none;}
.site-title{font-weight:800;font-size:1.3rem;color:var(--navy);margin:0;}
.site-tagline{font-size:.72rem;color:var(--grey);letter-spacing:.5px;text-transform:uppercase;margin:0;}

.primary-nav{flex:0 1 auto;min-width:0;margin-left:6px;}
.primary-nav ul{display:flex;align-items:center;gap:0;list-style:none;flex-wrap:nowrap;}
.primary-nav li{position:relative;}
.primary-nav > ul > li > a{
  display:block;
  padding:12px 9px;
  font-weight:600;
  font-size:.94rem;
  white-space:nowrap;
  color:var(--navy);
}
.primary-nav > ul > li > a:hover{color:var(--gold);}
.primary-nav ul ul{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  background:var(--white);
  min-width:230px;
  box-shadow:var(--shadow);
  border-radius:8px;
  padding:8px;
  z-index:50;
}
.primary-nav li:hover > ul{display:block;}
.primary-nav ul ul li a{padding:10px 14px;border-radius:6px;font-weight:500;}
.primary-nav ul ul li a:hover{background:var(--grey-light);}
.header-cta{display:flex;align-items:center;gap:14px;margin-left:auto;flex:0 0 auto;}
.header-cta .btn{padding:8px 16px;font-size:.8rem;white-space:nowrap;}
.menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:6px;}
.menu-toggle span{display:block;width:26px;height:2px;background:var(--navy);margin:5px 0;}

@media (max-width:900px){
  .primary-nav{
    display:none;
    position:absolute;
    left:0;right:0;top:100%;
    background:var(--white);
    border-top:1px solid var(--border);
    box-shadow:var(--shadow);
    max-height:calc(100vh - 100%);
    overflow-y:auto;
  }
  .primary-nav.is-open{display:block;}
  .primary-nav ul{flex-direction:column;align-items:stretch;padding:10px;}
  .primary-nav ul ul{position:static;box-shadow:none;display:block;padding-left:14px;}
  .primary-nav > ul > li > a{padding:14px 10px;font-size:1rem;}
  .site-header .container{position:relative;flex-wrap:nowrap;gap:12px;}
  .site-branding img{height:56px;}
  .menu-toggle{display:block;}
  .header-cta .btn-navy{display:none;}
}
@media (max-width:480px){
  .site-branding img{height:46px;}
  .top-bar-info{gap:10px;}
  .top-bar{font-size:.75rem;}
}

/* Phone + OS/browser dark theme: swap the header logo for the light
   (white text) variant and darken the header bar behind it so it stays
   legible - the light logo is only visible against a dark background, so
   the two changes always travel together. Everything else (desktop, or
   phone in light mode) keeps the original navy-on-white header. */
@media (max-width:900px) and (prefers-color-scheme:dark){
  .site-logo-default{display:none;}
  .site-logo-dark-mode{display:block;}
  .site-header{background:var(--navy-dark);border-bottom-color:rgba(255,255,255,0.12);}
  .menu-toggle span{background:var(--white);}
}

/* Hide the "Beyond Numbers for Growth" intro block on mobile */
@media (max-width:900px){
  .beyond-growth-el{display:none;}
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-dark) 100%);
  color:var(--white);
  padding:64px 0 36px;
  position:relative;
  overflow:hidden;
}
.hero h1{
  color:#d7dee8;
  opacity:0;
  animation:heroHeadingIn .8s ease .15s forwards;
}
@keyframes heroHeadingIn{
  from{opacity:0;transform:translateY(18px);}
  to{opacity:1;transform:translateY(0);}
}
@media (prefers-reduced-motion: reduce){
  .hero h1{opacity:1;animation:none;transform:none;}
}
.hero::after{
  content:"";
  position:absolute;
  right:-120px;top:-120px;
  width:420px;height:420px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(201,151,58,0.28),transparent 70%);
}
.hero .container{position:relative;z-index:1;max-width:760px;}
.hero p.lead{font-size:1.15rem;color:rgba(255,255,255,0.82);max-width:640px;}
.hero-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:28px;}
.hero-call{color:rgba(255,255,255,0.85);}
.hero-call strong{display:block;color:var(--white);font-size:1.15rem;}
.hero-call span{font-size:.8rem;text-transform:uppercase;letter-spacing:.5px;color:var(--gold-light);}

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid{display:grid;gap:28px;}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr));}
.grid-6{grid-template-columns:repeat(6,minmax(0,1fr));}
@media (max-width:980px){
  .grid-3,.grid-4{grid-template-columns:repeat(2,minmax(0,1fr));}
  .grid-6{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:640px){
  .grid-2,.grid-3,.grid-4,.grid-6{grid-template-columns:minmax(0,1fr);}
}

.card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:32px 28px;
  transition:box-shadow .2s ease, transform .2s ease;
}
.card:hover{box-shadow:var(--shadow);transform:translateY(-3px);}
.card .icon{
  width:52px;height:52px;
  border-radius:12px;
  background:rgba(201,151,58,0.12);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:18px;
  color:var(--gold);
}
.card .icon svg{width:26px;height:26px;stroke:var(--gold);fill:none;}
.card h3 a{color:var(--navy);}
.card p:last-child{margin-bottom:0;}
.card .learn-more{font-weight:700;font-size:.9rem;color:var(--gold);display:inline-flex;align-items:center;gap:4px;margin-top:8px;}

/* Service card description - clamped to 2 lines on mobile only. No
   toggle button; the existing "Learn more" link covers the rest.
   Desktop and tablet show the full text, untouched. */
@media (max-width:600px){
  .card-intro{
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
}

.icon-list{list-style:none;margin:20px 0;}
.icon-list li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-bottom:12px;
  color:var(--ink);
  font-weight:500;
}
.icon-list li::before{
  content:"";
  flex:0 0 20px;
  width:20px;height:20px;
  margin-top:2px;
  border-radius:50%;
  background:var(--gold);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") no-repeat center/60%;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") no-repeat center/60%;
}
.bg-navy .icon-list li{color:var(--white);}

/* Two column layout */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center;}
@media (max-width:900px){.split{grid-template-columns:minmax(0,1fr);}}
.media-block{
  background:linear-gradient(135deg,rgba(11,42,74,0.06),rgba(201,151,58,0.12));
  border-radius:16px;
  padding:36px;
  min-height:320px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  border:1px solid var(--border);
}
.media-block .stat-big{font-size:3rem;font-weight:800;color:var(--navy);}
.media-block .stat-label{color:var(--grey);font-weight:600;}

/* Steps */
.steps{counter-reset:step;}
.step{position:relative;padding-left:0;}
.step .step-num{
  display:inline-flex;
  align-items:center;justify-content:center;
  width:44px;height:44px;
  border-radius:50%;
  background:var(--navy);
  color:var(--white);
  font-weight:800;
  margin-bottom:16px;
}
.step .step-icon{
  display:inline-flex;
  align-items:center;justify-content:center;
  width:44px;height:44px;
  margin-bottom:10px;
  color:var(--navy);
}
.step .step-icon svg{width:30px;height:30px;}
.step .step-label{
  text-transform:uppercase;
  letter-spacing:.5px;
  font-size:.75rem;
  font-weight:700;
  color:var(--gold);
  margin-bottom:6px;
}
.step h3{margin-bottom:8px;}

/* Stats bar */
.stats-bar{
  background:var(--navy);
  color:var(--white);
  border-radius:16px;
  padding:44px 24px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:24px;
  text-align:center;
}
.stats-bar > div{flex:1 1 140px;max-width:220px;}
.stats-bar .num{font-size:2.4rem;font-weight:800;color:var(--gold-light);}
.stats-bar .label{font-size:.85rem;text-transform:uppercase;letter-spacing:.5px;color:rgba(255,255,255,0.75);}

/* Pricing */
.pricing-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:36px 28px;
  position:relative;
  display:flex;
  flex-direction:column;
}
.pricing-card.featured{
  border-color:var(--gold);
  box-shadow:var(--shadow);
  transform:scale(1.02);
}
.pricing-badge{
  position:absolute;top:-14px;right:24px;
  background:var(--gold);color:var(--navy);
  padding:6px 14px;border-radius:999px;
  font-size:.75rem;font-weight:800;text-transform:uppercase;
}
.pricing-card .tier{font-weight:700;color:var(--gold);text-transform:uppercase;font-size:.8rem;letter-spacing:.5px;}
.pricing-card .audience{color:var(--grey);font-size:.9rem;margin-bottom:14px;}
.pricing-card .price{font-size:2.6rem;font-weight:800;color:var(--navy);}
.pricing-card .price span{font-size:.95rem;font-weight:600;color:var(--grey);}
.pricing-card ul{list-style:none;margin:22px 0;flex:1;}
.pricing-card ul li{
  display:flex;gap:10px;align-items:flex-start;
  padding:8px 0;
  border-top:1px solid var(--border);
  font-size:.92rem;
}
.pricing-card ul li:first-child{border-top:none;}
.pricing-note{max-width:760px;margin:0 auto 40px;text-align:center;color:var(--grey);font-size:.92rem;}

/* FAQ accordion */
.faq-item{border-bottom:1px solid var(--border);}
.faq-item summary{
  cursor:pointer;
  list-style:none;
  padding:20px 0;
  font-weight:700;
  color:var(--navy);
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+";font-size:1.4rem;color:var(--gold);}
.faq-item[open] summary::after{content:"\2212";}
.faq-item p{padding-bottom:20px;margin:0;}

/* CTA band */
.cta-band{
  background:linear-gradient(135deg,var(--navy),var(--navy-dark));
  color:var(--white);
  border-radius:20px;
  padding:56px;
  text-align:center;
}
.cta-band h2{color:var(--white);}
.cta-band p{color:rgba(255,255,255,0.8);}
.cta-actions{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin-top:20px;}

/* Testimonial-free trust strip */
.trust-strip{display:flex;flex-wrap:wrap;gap:32px;justify-content:center;align-items:center;color:var(--grey);font-weight:600;font-size:.9rem;}

/* Breadcrumb / page hero */
.page-hero{
  background:linear-gradient(135deg,var(--navy),var(--navy-dark));
  color:var(--white);
  padding:64px 0;
  text-align:center;
}
.page-hero .breadcrumb{color:rgba(255,255,255,0.65);font-size:.85rem;margin-bottom:10px;}
.page-hero .breadcrumb a{color:rgba(255,255,255,0.65);}
.page-hero h1{color:var(--gold);margin-bottom:0;}

/* Contact */
.contact-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;}
@media (max-width:900px){.contact-grid{grid-template-columns:minmax(0,1fr);}}
.contact-info-item{display:flex;gap:16px;margin-bottom:24px;}
.contact-info-item .icon{
  flex:0 0 48px;height:48px;width:48px;border-radius:12px;
  background:rgba(201,151,58,0.12);
  display:flex;align-items:center;justify-content:center;color:var(--gold);
}
.form-row{margin-bottom:16px;}
.form-row label{display:block;font-weight:600;margin-bottom:6px;font-size:.9rem;}
.form-row input,.form-row textarea,.form-row select{
  width:100%;
  padding:13px 14px;
  border:1px solid var(--border);
  border-radius:8px;
  font-family:inherit;
  font-size:.95rem;
}
.form-row input:focus,.form-row textarea:focus{outline:2px solid var(--gold);border-color:var(--gold);}
.form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;}
@media (max-width:600px){.form-grid{grid-template-columns:minmax(0,1fr);}}
.form-notice{padding:14px 16px;border-radius:8px;margin-bottom:20px;font-weight:600;}
.form-notice.success{background:#e6f4ea;color:#1e7b34;}
.form-notice.error{background:#fdeaea;color:#b3261e;}
.map-embed{border-radius:16px;overflow:hidden;border:1px solid var(--border);margin-top:32px;}
.map-embed iframe{width:100%;height:340px;border:0;display:block;}

/* Blog */
.post-card{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;}
.post-card .post-thumb{height:190px;background:linear-gradient(135deg,var(--navy),var(--navy-dark));}
.post-card .post-thumb img{height:100%;width:100%;object-fit:cover;}
.post-card .post-body{padding:22px;}
.post-meta{font-size:.8rem;color:var(--gold);text-transform:uppercase;font-weight:700;letter-spacing:.5px;margin-bottom:8px;}
.single-post-content{max-width:760px;margin:0 auto;}
.single-post-content img{border-radius:12px;margin:20px 0;}
.pagination{display:flex;gap:10px;justify-content:center;margin-top:40px;}
.pagination a,.pagination span{padding:10px 16px;border:1px solid var(--border);border-radius:8px;font-weight:600;}

/* Footer */
.site-footer{background:var(--navy-dark);color:rgba(255,255,255,0.75);padding-top:64px;}
.footer-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr);gap:40px;padding-bottom:48px;border-bottom:1px solid rgba(255,255,255,0.1);}
@media (max-width:900px){.footer-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);}}
@media (max-width:600px){
  .footer-grid{grid-template-columns:minmax(0,1fr);}
}
.footer-logo{
  display:inline-block;
  max-width:100%;
  margin-bottom:22px;
}
.footer-logo img{display:block;width:min(360px, 100%);height:auto;max-width:none;}
.site-footer h4{color:var(--white);font-size:1rem;margin-bottom:18px;}
.site-footer ul{list-style:none;}
.site-footer ul li{margin-bottom:10px;}
.site-footer a{color:rgba(255,255,255,0.75);}
.site-footer a:hover{color:var(--gold-light);}
.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;
  padding:24px 0;flex-wrap:wrap;gap:10px;
  font-size:.85rem;color:rgba(255,255,255,0.55);
}
.footer-social{display:flex;gap:10px;}
.footer-social a{
  width:36px;height:36px;border-radius:50%;
  background:rgba(255,255,255,0.08);
  display:flex;align-items:center;justify-content:center;
  color:var(--white);
}
.footer-social a:hover{background:var(--gold);color:var(--navy);}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--gold);color:var(--navy);padding:10px 16px;z-index:1000;}
.skip-link:focus{left:10px;top:10px;}

/* ==========================================================================
   Cookie consent banner
   ========================================================================== */
.cookie-consent{
  position:fixed;left:0;right:0;bottom:0;z-index:999;
  background:var(--navy-dark);
  border-top:1px solid rgba(255,255,255,0.12);
  box-shadow:0 -8px 24px rgba(15,30,60,0.25);
  padding:20px 0;
  transform:translateY(110%);
  transition:transform .4s ease;
}
.cookie-consent.is-visible{transform:translateY(0);}
.cookie-consent-inner{
  max-width:1160px;margin:0 auto;padding:0 24px;
  display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap;
}
.cookie-consent p{
  color:rgba(255,255,255,0.85);font-size:.92rem;line-height:1.6;
  margin:0;flex:1 1 480px;
}
.cookie-consent p a{color:var(--gold-light,var(--gold));text-decoration:underline;}
.cookie-consent-actions{display:flex;gap:12px;flex-wrap:wrap;flex:0 0 auto;}
.cookie-consent-actions .btn{padding:10px 20px;font-size:.88rem;white-space:nowrap;}
@media (max-width:600px){
  .cookie-consent-inner{flex-direction:column;align-items:stretch;}
  .cookie-consent-actions{justify-content:stretch;}
  .cookie-consent-actions .btn{flex:1;}
}
#cookie-settings-link{cursor:pointer;}

/* ==========================================================================
   Editable content flow (output of the_content() on page templates)
   ========================================================================== */
.content-flow{padding:72px 0;}
.content-flow > *:first-child{margin-top:0;}
.content-flow h2{margin-top:64px;text-align:center;max-width:720px;margin-left:auto;margin-right:auto;}
.content-flow > p{max-width:720px;margin-left:auto;margin-right:auto;text-align:center;}
.content-flow > p.wide-line{max-width:850px;}
@media (max-width:900px){
  .content-flow > p.wide-line{max-width:720px;}
}
.content-flow > ul{list-style:none;max-width:720px;margin:36px auto 12px;padding:4px 0;}
.content-flow > ul li{
	display:flex;gap:10px;align-items:flex-start;margin-bottom:16px;color:var(--ink);font-weight:500;padding:2px 0;
}
.content-flow > ul li::before{
	content:"";flex:0 0 20px;width:20px;height:20px;margin-top:2px;border-radius:50%;background:var(--gold);
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") no-repeat center/60%;
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") no-repeat center/60%;
}
.director-list-photo{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  column-gap:28px;
  margin:36px auto 12px;
}
.director-list-photo ul{grid-column:1;justify-self:end;list-style:none;margin:0;padding:0;}
.director-list-photo ul li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-bottom:16px;
  color:var(--ink);
  font-weight:500;
}
.director-list-photo ul li:last-child{margin-bottom:0;}
.director-list-photo ul li::before{
  content:"";
  flex:0 0 20px;
  width:20px;
  height:20px;
  margin-top:2px;
  border-radius:50%;
  background:var(--gold);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") no-repeat center/60%;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") no-repeat center/60%;
}
.director-list-photo .director-photo{grid-column:2;margin:0;}
@media (max-width:700px){
  .director-list-photo{grid-template-columns:1fr;row-gap:28px;}
  .director-list-photo ul{grid-column:1;justify-self:stretch;}
  .director-list-photo .director-photo{grid-column:1;justify-self:center;}
}
.director-photo{margin:28px auto 20px;text-align:center;}
.director-photo img{
  width:150px;
  height:150px;
  margin:0 auto;
  border-radius:50%;
  object-fit:cover;
  border:4px solid var(--white);
  box-shadow:0 10px 28px rgba(15,30,60,0.18);
}
.content-flow .grid{margin-top:36px;}
.content-flow .stats-bar,.content-flow .pricing-note{margin-top:16px;}
.content-flow figure{margin:32px 0;}
.content-flow img{border-radius:12px;}

/* Legal pages (Privacy Policy) - long-form text reads better left-aligned
   and wider than the centred, 720px marketing copy used elsewhere. */
.legal-content{max-width:820px;margin:0 auto;text-align:left;}
.legal-content h2{
  text-align:left;max-width:none;margin:40px 0 12px;
  font-size:1.35rem;color:var(--navy);
}
.legal-content h2:first-child{margin-top:0;}
.legal-content p{text-align:left;max-width:none;margin:0 0 16px;line-height:1.7;}
.legal-content ul{list-style:disc;max-width:none;margin:0 0 16px;padding:0 0 0 24px;text-align:left;}
.legal-content ul li{padding-left:0;margin-bottom:10px;color:var(--ink);}
.legal-content ul li::before{content:none;}
.legal-content a{color:var(--gold-dark,var(--gold));text-decoration:underline;}
.legal-content .legal-meta{
  margin-top:40px;padding-top:20px;border-top:1px solid rgba(15,30,60,0.12);
  color:var(--grey,#6b7280);font-size:0.9rem;
}

/* ==========================================================================
   Bare (boxless) icon variant - used for Our Services cards and Why
   Choose Us, matching the reference site's plain line-icon style.
   ========================================================================== */
.icon.icon-bare{
  background:none;
  width:auto;
  height:auto;
  border-radius:0;
  margin-bottom:14px;
}
.icon.icon-bare svg{stroke:var(--navy);width:32px;height:32px;}
.icon.icon-bare.icon-lg svg{width:52px;height:52px;stroke-width:1.5;}
.card .icon.icon-lg{margin-bottom:20px;}

/* ==========================================================================
   Why Choose Us - two boxes left, image centre, two boxes right
   ========================================================================== */
.why-split{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
  gap:40px;
  align-items:center;
  margin-top:36px;
}
.why-col{display:flex;flex-direction:column;gap:36px;}
.why-item h3{margin-bottom:6px;}
.why-item p{margin-bottom:0;}
.why-item{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .6s ease, transform .6s ease;
}
.why-item.is-visible{opacity:1;transform:translateY(0);}
@media (prefers-reduced-motion: reduce){
  .why-item{opacity:1;transform:none;transition:none;}
}
.card.service-card{
  opacity:0;
  transition:box-shadow .2s ease, transform .2s ease, opacity .5s ease, translate .5s ease;
  translate:0 24px;
}
.card.service-card.is-visible{opacity:1;translate:0;}
@media (prefers-reduced-motion: reduce){
  .card.service-card{opacity:1;translate:0;transition:box-shadow .2s ease, transform .2s ease;}
}
.why-media{
  display:flex;
  align-items:center;
  justify-content:center;
}
.why-media img{max-width:260px;width:100%;height:auto;display:block;margin:0 auto;}
@media (max-width:980px){
  .why-split{grid-template-columns:minmax(0,1fr);text-align:center;}
  .why-col{align-items:center;}
  .why-media{order:-1;max-width:320px;margin:0 auto;}
}

/* ==========================================================================
   Trusted by the tools you already use
   ========================================================================== */
.trusted-tools{text-align:center;margin-bottom:8px;}
.trusted-tools-label{
  display:flex;
  align-items:center;
  justify-content:center;
  text-transform:uppercase;
  letter-spacing:1px;
  font-size:.8rem;
  font-weight:700;
  color:var(--grey);
  margin-bottom:32px;
}
.trusted-tools-label::before,
.trusted-tools-label::after{
  content:"";
  flex:1 1 60px;
  height:1px;
  background:var(--border);
}
.trusted-tools-label::before{margin-right:20px;}
.trusted-tools-label::after{margin-left:20px;}
.trusted-tools-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:40px;
}

/* Auto-revolving marquee */
.trusted-tools-marquee{
  overflow:hidden;
  padding:14px 0;
  mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.trusted-tools-track{
  display:flex;
  align-items:center;
  gap:64px;
  width:max-content;
  animation:reeves-marquee 30s linear infinite;
}
.trusted-tools-marquee:hover .trusted-tools-track{animation-play-state:paused;}
@keyframes reeves-marquee{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}
.tool-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  height:52px;
  width:160px;
  opacity:.6;
  transition:opacity .2s ease;
}
.tool-badge img{
  display:block;
  height:100%;
  width:100%;
  object-fit:contain;
  filter:grayscale(1);
}
.tool-badge:hover{opacity:1;}
@media (prefers-reduced-motion: reduce){
  .trusted-tools-track{animation:none;}
}

/* ==========================================================================
   Service page: "What We Cover" two-column intro
   ========================================================================== */
.split-intro{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:40px;
  align-items:end;
  margin-bottom:12px;
}
.split-intro h2{margin-bottom:0;text-align:left;}
.split-intro > p{margin-bottom:0;}
@media (max-width:760px){
  .split-intro{grid-template-columns:minmax(0,1fr);text-align:left;}
}

/* ==========================================================================
   Service page: Why Reeves tabs
   ========================================================================== */
.why-tabs-wrap{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);
  gap:48px;
  align-items:start;
}
.why-tabs-main h2{text-align:left;}
.why-tabs-main > p{text-align:left;max-width:none;margin-left:0;}
.mini-stats{
  display:flex;
  gap:32px;
  margin:24px 0;
  padding:20px 0;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.mini-stats .num{display:block;font-size:1.6rem;font-weight:800;color:var(--navy);}
.mini-stats .label{font-size:.8rem;color:var(--grey);}
.tabs{margin-top:32px;}
.tabs-nav{display:flex;flex-wrap:wrap;gap:8px 24px;border-bottom:1px solid var(--border);margin-bottom:20px;}
.tab-btn{
  background:none;border:none;cursor:pointer;
  padding:10px 0;font-weight:700;font-size:.95rem;color:var(--grey);
  border-bottom:2px solid transparent;
  margin-bottom:-1px;
}
.tab-btn.is-active{color:var(--navy);border-bottom-color:var(--gold);}
.tab-panel{display:none;}
.tab-panel.is-active{display:block;}
.tab-panel p{margin-bottom:0;}
.why-tabs-media{display:flex;align-items:center;justify-content:center;}
.why-tabs-media img{max-width:260px;width:100%;height:auto;margin:0 auto;}
@media (max-width:900px){
  .why-tabs-wrap{grid-template-columns:minmax(0,1fr);}
  .why-tabs-media{order:-1;max-width:280px;margin:0 auto;}
  .mini-stats{gap:24px;flex-wrap:wrap;}
}

/* ==========================================================================
   Service page: FAQ two-column split
   ========================================================================== */
.faq-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:48px;align-items:start;margin-top:56px;padding-top:56px;border-top:1px solid var(--border);}
.faq-split-intro h2{text-align:left;}
.faq-split-intro > p{text-align:left;max-width:none;margin-left:0;}
@media (max-width:900px){
  .faq-split{grid-template-columns:minmax(0,1fr);}
}

/* ==========================================================================
   General mobile polish
   ========================================================================== */
@media (max-width:600px){
  section{padding:56px 0;}
  .section-tight{padding:36px 0;}
  .hero{padding:48px 0 28px;}
  .hero-actions{gap:16px;}
  .cta-band{padding:36px 24px;}
  .stats-bar{padding:32px 16px;gap:16px;}
  .why-tabs-wrap{gap:32px;}
  .tabs-nav{gap:6px 16px;}
  .container{padding:0 18px;}
  .pricing-card.featured{transform:none;}
}
@media (max-width:400px){
  .stats-bar{gap:12px 24px;}
  .stats-bar > div{flex:1 1 42%;}
  h1{font-size:1.7rem;}
}
