/* Magenta Care - Shared Styles
   Font: Arial
   Primary: #ff66cc
*/

:root{
  --magenta: #ff66cc;
  --magenta-dark: #b94fa3;
  --text: #333333;
  --muted: #666666;
  --bg: #ffffff;
  --panel: #f7f7f7;
  --border: #e6e6e6;
  --shadow: 0 10px 30px rgba(0,0,0,0.06);
  --radius: 16px;
  --max: 1100px;
}

*{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a{
  color: inherit;
  text-decoration: none;
}
a:hover{ text-decoration: underline; }

.container{
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

/* Top strip (base) */
.top-strip{
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}

.top-strip-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  flex-wrap: wrap;
}

/* Top strip – three column layout */
.top-strip-3{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.top-left{ text-align: left; }
.top-centre{ text-align: center; font-weight: 600; }
.top-right{ text-align: right; }

@media (max-width: 900px){
  .top-strip-3{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .top-left, .top-right{ text-align: center; }
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

/* Brand */
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand img{
  display: block;
  max-height: 100px; /* adjust if you want logo bigger/smaller */
  width: auto;
}

/* Nav */
.nav{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a{
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
  font-size: 16px;
}

.nav a:hover{
  background: var(--panel);
  text-decoration: none;
}

.nav .cta{
  background: var(--magenta);
  color: #fff;
  font-weight: 700;
}

.nav .cta:hover{
  background: var(--magenta-dark);
}

/* Main */
main{ padding: 28px 0 56px; }

.section{ padding: 30px 0; }

.section-title{
  font-size: 30px;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}

.lead{
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  max-width: 75ch;
}

/* Cards (used on home/services/careers/contact etc.) */
.card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

/* Grids */
.grid{
  display: grid;
  gap: 14px;
}

.grid-2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 900px){
  .grid-2, .grid-3{ grid-template-columns: 1fr; }
  .brand{ min-width: unset; }
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.08s ease;
}

.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--magenta);
  color: #fff;
}

.btn-primary:hover{
  background: var(--magenta-dark);
  text-decoration: none;
}

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

.btn-ghost:hover{
  background: var(--panel);
  text-decoration: none;
}

/* Forms */
.form{
  display: grid;
  gap: 12px;
}

.input, textarea{
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
}

.input:focus, textarea:focus{
  border-color: rgba(255, 102, 204, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 102, 204, 0.16);
}

textarea{
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 26px 0;
  font-size: 13px;
}

.small{
  font-size: 13px;
  color: var(--muted);
}

/* Home: image grid cards (Support at home / Holidays / Appointments) */
.support-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.support-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.support-card img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.support-content{
  padding: 16px;
}

.support-content h3{
  margin: 0 0 6px;
  font-size: 18px;
}

.support-content p{
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 900px){
  .support-grid{ grid-template-columns: 1fr; }
}

/* Editorial About page (light accents, minimal) */
.editorial{
  max-width: 820px;
}

.editorial-section h2{
  font-size: 20px;
  margin-bottom: 8px;
  padding-left: 10px;
  border-left: 3px solid var(--magenta);
}

.editorial-section p{
  font-size: 15px;
  color: var(--muted);
}

.editorial-quote{
  margin: 0;
  padding-left: 16px;
  border-left: 4px solid var(--magenta);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

/* Home hero (final, clean version) */

.hero{
  padding-top: 40px;
}

.hero-inner{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start; /* IMPORTANT: keeps image aligned with text */
}

.hero-image{
  display: flex;
  justify-content: flex-end;
}

.hero-image img{
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

@media (max-width: 900px){
  .hero-inner{
    grid-template-columns: 1fr;
  }

  .hero-image{
    order: -1;
    justify-content: center;
  }
}

/* Hero bullet points */

.hero-bullets{
  margin: 10px 0 0;   /* reduced bottom spacing */
  padding-left: 18px;
  max-width: 520px;
}

.hero-bullets li{
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--muted);
}

.hero-bullets li::marker{
  color: var(--magenta);
}

/* Home hero form (replaces hero image) */

/* Home hero contact form (compact version) */

.hero-form{
  display: flex;
  justify-content: flex-end;
}

.hero-form-inner{
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
}

.hero-form-title{
  margin: 0 0 4px;
  font-size: 16px;
}

.hero-form-sub{
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}

/* Form spacing */
.hero-form-inner .form{
  gap: 8px;
}

/* Inputs */
.hero-form-inner .input,
.hero-form-inner textarea{
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  outline: none;
}

.hero-form-inner .input:focus,
.hero-form-inner textarea:focus{
  border-color: rgba(255, 102, 204, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 102, 204, 0.15);
}

.hero-form-inner textarea{
  min-height: 75px;
  resize: vertical;
}

/* Button */
.hero-form-inner .btn{
  padding: 9px 12px;
  font-size: 13px;
}

/* Small helper text */
.hero-form-inner .small{
  font-size: 12px;
  color: var(--muted);
}

/* Mobile */
@media (max-width: 900px){
  .hero-form{
    justify-content: center;
  }

  .hero-form-inner{
    max-width: 520px;
  }
}
/* Reduce gap after hero section only */
.hero + .section{
  padding-top: 18px;
}

/* CQC text + widget layout */

.cqc-block{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.cqc-widget{
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 900px){
  .cqc-block{
    grid-template-columns: 1fr;
  }

  .cqc-widget{
    justify-content: flex-start;
    margin-top: 12px;
  }
}
/* Trust + CQC combined section */

.trust-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.trust-points{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.trust-point h3{
  margin: 0 0 4px;
  font-size: 17px;
}

.trust-point p{
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.trust-cqc .lead{
  margin-top: 0;
}

.trust-cqc .cqc-widget{
  margin-top: 12px;
}

@media (max-width: 900px){
  .trust-grid{
    grid-template-columns: 1fr;
  }
}
/* Centre the final CTA card */

.cta-centre{
  display: flex;
  justify-content: center;
}

.cta-centre .card{
  width: 100%;
  max-width: 720px;
}
/* Footer layout */

.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-text{
  text-align: left;
}

.footer-badge{
  display: flex;
  justify-content: flex-end;
}

.footer-badge img{
  max-height: 70px;
  width: auto;
}

/* Mobile */
@media (max-width: 900px){
  .footer-inner{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-badge{
    justify-content: center;
    margin-top: 12px;
  }

}/* Make all top strip text bold */

.top-strip{
  font-weight: 600;
}
.contact-centre{
  display: flex;
  justify-content: center;
}

.contact-inner{
  width: 100%;
  max-width: 900px;
}

.services-intro{
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

/* -------------------------------------------------------
   Mobile & readability upgrades (add at END of styles.css)
-------------------------------------------------------- */

/* Prevent accidental side-scrolling */
html, body { overflow-x: hidden; }
* { min-width: 0; } /* helps grids/flex not overflow */

/* Make text scale nicely across devices */
body{
  font-size: clamp(16px, 1.2vw, 18px);
  -webkit-text-size-adjust: 100%;
}

/* Headings scale better */
.section-title{
  font-size: clamp(24px, 4.6vw, 30px);
  line-height: 1.15;
}
.lead{
  font-size: clamp(15px, 3.6vw, 16px);
}

/* Ensure long links/words don't break layout */
p, a, li { overflow-wrap: anywhere; }

/* Forms: stop iPhone zooming inputs */
.input, textarea{ font-size: 16px; } /* iOS zoom fix */

/* Better tap targets on mobile */
.nav a{
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ---------- Mobile layout tuning ---------- */
@media (max-width: 600px){

  /* Slightly tighter global spacing on small phones */
  main{ padding: 18px 0 40px; }
  .section{ padding: 20px 0; }
  .container{ padding: 0 14px; }

  /* Header: stack brand + nav neatly */
  .header-inner{
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .brand{
    justify-content: center;
  }

  /* Logo a touch smaller for small screens */
  .brand img{
    max-height: 72px;
  }

  /* Nav: full-width, centred, and tidy */
  .nav{
    width: 100%;
    justify-content: center;
    gap: 10px;
  }
  .nav a{
    padding: 10px 10px;
    font-size: 15px;
  }

  /* Cards: slightly tighter padding */
  .card{
    padding: 14px;
    border-radius: 14px;
  }

  /* Hero: reduce top padding & keep comfortable rhythm */
  .hero{ padding-top: 18px; }

  /* Hero bullets: make them a bit larger for readability */
  .hero-bullets li{
    font-size: 15px;
    line-height: 1.5;
  }

  /* Support images: reduce fixed height so they don't dominate */
  .support-card img{
    height: 170px;
  }

  /* Footer: more breathing space */
  .site-footer{
    padding: 22px 0;
  }
}

/* Optional: nicer spacing for tablets too */
@media (max-width: 900px){
  .section-title{ line-height: 1.2; }
}
/* Brand text (used in header) */
.brand-text{ line-height: 1.1; }
.brand-name{
  font-size: 26px;
  font-weight: 700;
  color: var(--magenta);
  letter-spacing: 0.5px;
}
.brand-sub{
  font-size: 14px;
  color: #000;
}

/* Slightly smaller brand type on very small phones */
@media (max-width: 600px){
  .brand-name{ font-size: 22px; }
  .brand-sub{ font-size: 13px; }
}
/* Narrow content wrapper (About page etc.) */
.content-narrow{
  max-width: 900px;
}

/* Consistent subheadings */
.subheading{
  margin-top: 26px;
}

/* Consistent lists */
.content-list{
  margin-left: 18px;
}

/* Small-phone tuning */
@media (max-width: 600px){
  .subheading{ margin-top: 20px; }
  .content-list{ margin-left: 16px; }
}
/* Contact page two-column grid (stacks on mobile) */
.contact-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

@media (max-width: 900px){
  .contact-grid{
    grid-template-columns: 1fr;
  }
}




/* -------------------------------------------------------
   Consolidated navigation + footer styles
-------------------------------------------------------- */

.nav{
  flex-wrap: wrap;
  gap: 14px;
}

.nav a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav a:not(.cta){
  padding: 8px 10px;
  border-radius: 999px;
}

.nav a[aria-current="page"]:not(.cta){
  background: rgba(255,102,204,0.12);
  color: var(--magenta);
  font-weight: 700;
}

.site-footer{
  margin-top: 48px;
}

.footer-inner{
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(220px,0.8fr);
  gap: 24px;
  align-items: start;
}

.footer-main{
  display: grid;
  gap: 14px;
}

.footer-brandline{
  margin: 0;
  font-size: 18px;
}

.footer-text,
.footer-text p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer-links{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

.footer-links a{
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover{
  text-decoration: underline;
}

.footer-badge{
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-cqc{
  max-width: 110px;
  height: auto;
  display: block;
}

.footer-qcs{
  max-width: 130px;
  height: auto;
  display: block;
}

@media (max-width: 860px){
  .footer-inner{
    grid-template-columns: 1fr;
  }

  .footer-badge{
    justify-content: flex-start;
  }
}

/* -------------------------------------------------------
   Services page refresh
-------------------------------------------------------- */

.eyebrow{
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,102,204,0.10);
  color: var(--magenta-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.centre-text{
  text-align: center;
}

.centre-lead{
  margin-left: auto;
  margin-right: auto;
}

.section-heading{
  margin-bottom: 20px;
}

.services-hero-section{
  padding-top: 18px;
}

.services-hero{
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 22px;
  align-items: stretch;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255,102,204,0.06), rgba(255,255,255,1) 45%);
}

.services-hero-copy .lead + .lead{
  margin-top: 12px;
}

.services-hero-panel{
  border: 1px solid rgba(255,102,204,0.16);
  border-radius: 18px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services-hero-panel h2{
  margin: 0 0 12px;
  font-size: 22px;
}

.services-highlights{
  margin: 0 0 18px;
  padding-left: 20px;
}

.services-highlights li{
  margin-bottom: 10px;
  color: var(--muted);
}

.services-grid-boxes{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-box{
  position: relative;
  height: 100%;
  padding: 20px;
  border-radius: 18px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.service-box:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
  border-color: rgba(255,102,204,0.25);
}

.service-box:before{
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--magenta);
}

.service-box-top{
  margin-bottom: 10px;
}

.service-kicker{
  display: inline-block;
  margin-bottom: 6px;
  color: var(--magenta-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-box h3{
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.service-box p{
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.service-box-featured{
  background: linear-gradient(180deg, rgba(255,102,204,0.08), #fff 42%);
}

.service-box-accent{
  border-color: rgba(255,102,204,0.22);
  background: linear-gradient(180deg, rgba(255,102,204,0.05), #fff 55%);
}

.service-cta-card{
  text-align: center;
  padding: 24px;
}

.service-cta-title{
  margin-top: 0;
}

.cta-actions{
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 980px){
  .services-hero{
    grid-template-columns: 1fr;
  }

  .services-grid-boxes{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  .services-hero{
    padding: 16px;
    border-radius: 16px;
  }

  .services-hero-panel{
    padding: 16px;
    border-radius: 16px;
  }

  .services-grid-boxes{
    grid-template-columns: 1fr;
  }

  .service-box{
    padding: 16px;
    border-radius: 16px;
  }

  .service-box h3{
    font-size: 18px;
  }

  .service-box p{
    font-size: 15px;
    line-height: 1.65;
  }
}
