/* ═══════════════════════════════════════════════
   PRIME HOME SERVICES LONDON — GLOBAL STYLESHEET
   primehomeservices.co.uk
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Lora:ital,wght@0,400;0,600;1,400&family=Epilogue:wght@300;400;500;600&display=swap');

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

:root {
  /* Palette */
  --ink:        #0f1923;
  --ink-mid:    #1e2d3d;
  --ink-soft:   #374151;
  --red:        #bf3528;
  --red-deep:   #942a20;
  --red-light:  #e05545;
  --red-glow:   rgba(191,53,40,0.16);
  --gold:       #c4862a;
  --cream:      #f6f2eb;
  --stone:      #ede9e2;
  --line:       #e0d9ce;
  --white:      #ffffff;
  --muted:      #6b7280;
  --muted-lt:   #9ca3af;
  --green:      #166534;

  /* Type */
  --font-display: 'Syne', sans-serif;
  --font-serif:   'Lora', serif;
  --font-body:    'Epilogue', sans-serif;

  /* Spacing */
  --gap:   clamp(16px, 3vw, 28px);
  --gutter: 5vw;
  --max:   1240px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── ANNOUNCEMENT BAR ── */
.annbar {
  background: var(--ink);
  color: rgba(255,255,255,.8);
  font-size: .76rem;
  font-weight: 500;
  padding: 8px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  letter-spacing: .01em;
}
.annbar strong { color: #fbbf24; }
.annbar .ann-phone a { color: #fbbf24; font-weight: 700; text-decoration: none; }
.ann-items { display: flex; gap: 20px; flex-wrap: wrap; }
.ann-item { display: flex; align-items: center; gap: 5px; }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0; z-index: 500;
  background: var(--white);
  border-bottom: 2px solid var(--line);
  padding: 0 var(--gutter);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

/* Logo */
.logo { text-decoration: none; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-badge {
  width: 46px; height: 46px;
  background: var(--ink);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-badge svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.logo-text strong { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.logo-text small { font-size: .68rem; color: var(--red); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: .875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 5px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--red); background: var(--cream); }
.main-nav a.active { color: var(--red); font-weight: 600; }

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop > a { display: flex; align-items: center; gap: 4px; }
.nav-drop > a::after { content: '▾'; font-size: .65rem; opacity: .5; }
.drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px); left: 0;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  z-index: 100;
}
.nav-drop:hover .drop-menu { display: block; }
.drop-menu a {
  display: block;
  padding: 8px 12px;
  font-size: .83rem;
  border-radius: 5px;
  text-decoration: none;
  color: var(--ink-soft);
  transition: background .12s, color .12s;
}
.drop-menu a:hover { background: var(--cream); color: var(--red); }

/* CTA button */
.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  transition: background .15s !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--red-deep) !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .25s;
}

/* ── PAGE HERO (reusable inner hero) ── */
.page-hero {
  background: var(--ink);
  padding: 72px var(--gutter) 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(191,53,40,.15) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.page-hero .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.page-hero .eyebrow-bar { width: 32px; height: 2px; background: var(--red); }
.page-hero .eyebrow-txt { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2rem,4vw,3.2rem); font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 16px; }
.page-hero h1 em { font-style: normal; color: var(--red-light); }
.page-hero p { color: rgba(255,255,255,.6); font-size: 1.05rem; max-width: 580px; line-height: 1.75; }

/* ── SECTION UTILITIES ── */
.sec { padding: 80px var(--gutter); }
.sec-sm { padding: 56px var(--gutter); }
.sec-cream { background: var(--cream); }
.sec-ink { background: var(--ink); }
.sec-stone { background: var(--stone); border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }

.sec-inner { max-width: var(--max); margin: 0 auto; }

.tag-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.tag-label::before { content: ''; width: 18px; height: 2px; background: var(--red); display: block; }

.sec-ink .tag-label { color: #e87070; }
.sec-ink .tag-label::before { background: #e87070; }

h2.heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.sec-ink h2.heading { color: #fff; }

p.lead {
  font-size: .97rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 44px;
}
.sec-ink p.lead { color: rgba(255,255,255,.55); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s, transform .1s, box-shadow .15s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 4px 18px rgba(191,53,40,.35); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(191,53,40,.4); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-mid); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.btn-sm { padding: 9px 18px; font-size: .82rem; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: var(--red); box-shadow: 0 12px 36px rgba(0,0,0,.09); transform: translateY(-3px); }

/* ── TRUST STRIP ── */
.trust-strip {
  display: flex; flex-wrap: wrap;
  border-top: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
}
.trust-cell {
  flex: 1; min-width: 130px;
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid var(--line);
}
.trust-cell:last-child { border-right: none; }
.trust-cell .tn { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--ink); line-height: 1; }
.trust-cell .tn em { font-style: normal; color: var(--red); }
.trust-cell .tl { font-size: .74rem; color: var(--muted); font-weight: 500; margin-top: 3px; }

/* ── FOOTER ── */
.site-footer {
  background: #0b1117;
  color: rgba(255,255,255,.45);
  padding: 60px var(--gutter) 28px;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 24px;
}
.footer-brand p { font-size: .83rem; line-height: 1.75; margin-top: 16px; max-width: 270px; }
.footer-col h4 { font-family: var(--font-display); color: #fff; font-size: .85rem; font-weight: 700; margin-bottom: 18px; letter-spacing: .04em; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.4); text-decoration: none; font-size: .82rem; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; font-size: .74rem;
}
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.6);
  font-size: .72rem; font-weight: 600;
  padding: 5px 10px; border-radius: 4px;
  margin-top: 12px; margin-right: 6px;
}

/* ── FLOATING CALL ── */
.float-call {
  display: none;
  position: fixed; bottom: 18px; right: 18px; z-index: 999;
}
.float-call a {
  width: 54px; height: 54px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(191,53,40,.5);
  animation: fc-pulse 2.5s ease-in-out infinite;
}
@keyframes fc-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(191,53,40,.5); }
  50% { box-shadow: 0 4px 32px rgba(191,53,40,.8), 0 0 0 8px rgba(191,53,40,.12); }
}

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 14px var(--gutter);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
}
.breadcrumb-inner { max-width: var(--max); margin: 0 auto; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color .12s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { opacity: .4; }

/* ── FORM STYLES ── */
.form-wrap { background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; padding: 36px 32px; }
.f-group { margin-bottom: 16px; }
.f-group label { display: block; font-size: .76rem; font-weight: 600; color: var(--ink); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 5px; }
.f-group input,
.f-group select,
.f-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
  resize: vertical;
}
.f-group input:focus,
.f-group select:focus,
.f-group textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--red-glow);
}
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f-note { font-size: .72rem; color: var(--muted); margin-top: 8px; text-align: center; }

/* ── BLOG CARD ── */
.blog-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.blog-card-img { background: var(--stone); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; font-size: 3rem; border-bottom: 1.5px solid var(--line); }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.blog-card-body h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.35; margin-bottom: 10px; }
.blog-card-body p { font-size: .83rem; color: var(--muted); line-height: 1.65; flex: 1; }
.blog-card-meta { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: .74rem; color: var(--muted-lt); }
.blog-card-meta span { display: flex; align-items: center; gap: 4px; }
.blog-card-link { margin-top: 14px; font-size: .82rem; font-weight: 600; color: var(--red); display: flex; align-items: center; gap: 4px; }

/* ── SERVICE GRID ── */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; }
.svc-cell { background: var(--white); padding: 28px 24px; border-right: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); text-decoration: none; display: block; transition: background .15s; position: relative; }
.svc-cell:hover { background: var(--cream); }
.svc-cell:hover .svc-arr { opacity: 1; transform: translate(3px,-3px); }
.svc-ico { font-size: 2rem; margin-bottom: 14px; }
.svc-cell h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.svc-cell p { font-size: .8rem; color: var(--muted); line-height: 1.6; }
.svc-arr { position: absolute; top: 18px; right: 18px; color: var(--red); opacity: 0; font-size: .95rem; transition: all .15s; }

/* ── BOROUGH GRID ── */
.borough-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 8px; }
.borough-pill { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.75); padding: 11px 14px; border-radius: 5px; font-size: .81rem; font-weight: 500; display: flex; align-items: center; gap: 7px; text-decoration: none; transition: all .15s; }
.borough-pill:hover { background: var(--red); border-color: var(--red); color: #fff; }
.borough-pill .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex-shrink: 0; transition: background .15s; }
.borough-pill:hover .dot { background: #fff; }

/* ── REVIEW CARD ── */
.review-card { border: 1.5px solid var(--line); border-radius: 8px; padding: 28px; background: var(--white); }
.r-stars { color: #f59e0b; font-size: .85rem; letter-spacing: 2px; margin-bottom: 14px; }
.r-body { font-family: var(--font-serif); font-size: .92rem; font-style: italic; color: var(--ink-soft); line-height: 1.75; margin-bottom: 20px; }
.r-author { display: flex; align-items: center; gap: 10px; }
.r-av { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.r-name { font-size: .85rem; font-weight: 600; color: var(--ink); }
.r-loc { font-size: .74rem; color: var(--muted); }
.r-badge { display: inline-block; background: var(--cream); color: var(--muted); font-size: .68rem; font-weight: 600; padding: 3px 8px; border-radius: 3px; margin-top: 12px; text-transform: uppercase; letter-spacing: .04em; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.anim-up { animation: fadeUp .65s ease both; }
.anim-d1 { animation-delay: .1s; }
.anim-d2 { animation-delay: .2s; }
.anim-d3 { animation-delay: .3s; }
.anim-d4 { animation-delay: .4s; }
.anim-d5 { animation-delay: .5s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .main-nav .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .main-nav.open .nav-links {
    display: flex; flex-direction: column; position: fixed;
    top: 0; right: 0; width: min(320px, 85vw); height: 100vh;
    background: var(--white); border-left: 2px solid var(--line);
    padding: 80px 24px 32px; gap: 4px; z-index: 400; overflow-y: auto;
    box-shadow: -8px 0 40px rgba(0,0,0,.12);
  }
  .main-nav.open .nav-links a { padding: 12px 14px; font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ann-items { display: none; }
  .trust-cell { flex: 0 0 50%; border-right: none; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .float-call { display: block; }
}
