/*
Theme Name: HomeCarer Trusted Independent Living
Theme URI: https://www.homecarer.ie
Author: HomeCarer
Description: Official HomeCarer theme migrated from Wix - matching original branding.
Version: 2.0.0
Text Domain: homecarer
*/

/* ============================================
   WIXSTATIC IMAGE URLS
   Logo:   https://static.wixstatic.com/media/9b9d0b_29b0a36d111848cb9ee4ce360f39a3e7~mv2.jpg
   HSE:    https://static.wixstatic.com/media/9b9d0b_b4f617e04ca640248d097a7bf3a4fa0c~mv2.jpg
   Hero:   https://static.wixstatic.com/media/9b9d0b_1b18c5c199d7417c96152ca20e7711db~mv2.jpg
============================================ */

:root {
  --green:        #2e7d32;
  --green-dark:   #1b5e20;
  --green-light:  #43a047;
  --green-pale:   #e8f5e9;
  --green-border: #c8e6c9;
  --white:        #ffffff;
  --off-white:    #f9fafb;
  --text:         #212121;
  --text-mid:     #424242;
  --text-light:   #757575;
  --accent:       #ff8f00;
  --accent-light: #ffb300;
  --shadow:       rgba(0,0,0,0.10);
  --font-head:    'Merriweather', Georgia, serif;
  --font-body:    'Open Sans', Arial, sans-serif;
  --max-w:        1200px;
  --radius:       8px;
  --radius-lg:    16px;
  --trans:        0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--green-dark); }
ul { list-style: none; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); line-height: 1.3; color: var(--text); font-weight: 700; }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }
.section--alt { background: var(--off-white); }
.section--green { background: var(--green); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: var(--radius);
  font-family: var(--font-body); font-size: .9375rem; font-weight: 700;
  border: 2px solid transparent; cursor: pointer; transition: all var(--trans);
  text-decoration: none; white-space: nowrap;
}
.btn--green  { background: var(--green); color: var(--white); border-color: var(--green); }
.btn--green:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(46,125,50,.3); }
.btn--outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn--outline:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }
.btn--white  { background: var(--white); color: var(--green); border-color: var(--white); }
.btn--white:hover { background: var(--green-pale); border-color: var(--green-pale); color: var(--green-dark); }
.btn--lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* ---- SECTION HEADER ---- */
.sec-label {
  display: inline-block; font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--green); background: var(--green-pale);
  padding: .3rem .9rem; border-radius: 100px; margin-bottom: .75rem;
}
.sec-header { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.sec-header h2 { margin-bottom: .75rem; }
.sec-header p  { color: var(--text-light); font-size: 1.0625rem; }

/* ============================================
   TOP BAR
============================================ */
.topbar {
  background: var(--green-dark);
  color: rgba(255,255,255,.85);
  font-size: .8125rem;
  padding: .45rem 0;
  text-align: center;
}
.topbar a { color: #a5d6a7; }
.topbar a:hover { color: var(--white); }

/* ============================================
   HEADER
============================================ */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: var(--white);
  box-shadow: 0 2px 12px var(--shadow);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1.25rem; max-width: var(--max-w); margin: 0 auto; gap: 1rem;
}
.header-logos { display: flex; align-items: center; gap: 1rem; }
.header-logos .site-logo img { height: 55px; width: auto; }
.header-logos .hse-logo img  { height: 42px; width: auto; }

.header-phone {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 700;
  color: var(--green); white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; fill: var(--green); flex-shrink: 0; }

/* NAV */
.main-nav { display: flex; align-items: center; gap: .15rem; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block; padding: .5rem .8rem;
  font-size: .9rem; font-weight: 600; color: var(--text);
  border-radius: var(--radius); transition: all var(--trans);
}
.main-nav > li > a:hover,
.main-nav > li.current-menu-item > a,
.main-nav > li.current-menu-ancestor > a {
  color: var(--green); background: var(--green-pale);
}
.main-nav .sub-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,.14); border: 1px solid var(--green-border);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all var(--trans); z-index: 200; padding: .4rem;
}
.main-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a {
  display: block; padding: .55rem .9rem; font-size: .875rem; color: var(--text);
  border-radius: 5px; transition: all var(--trans);
}
.main-nav .sub-menu a:hover { background: var(--green-pale); color: var(--green); padding-left: 1.1rem; }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .4rem;
}
.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--trans); }

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1b5e20;
}
.hero__bg-img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 1;
}
.hero__overlay { display: none; }
.hero__inner {
  position: relative;
  z-index: 5;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
  width: 100%;
}
.hero__text {
  background: rgba(20,60,20,0.80);
  padding: 2.5rem;
  border-radius: 12px;
}
.hero__label {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  color: #a5d6a7; font-size: .8rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem 1rem; border-radius: 100px; margin-bottom: 1rem;
}
.hero h1 { color: #ffffff; margin-bottom: 1.25rem; line-height: 1.2; }
.hero h1 span { color: #ffcc02; }
.hero__sub { color: rgba(255,255,255,.92); font-size: 1.125rem; margin-bottom: 2rem; line-height: 1.7; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .75rem; }
.trust-pill {
  display: flex; align-items: center; gap: .45rem;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  border-radius: 100px; padding: .35rem .9rem .35rem .5rem;
  font-size: .8125rem; color: rgba(255,255,255,.92); font-weight: 600;
}
.trust-pill .dot {
  width: 22px; height: 22px; background: #ffcc02; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: var(--text);
}
.hero__card {
  background: var(--white); border-radius: 16px;
  padding: 2rem; box-shadow: 0 16px 48px rgba(0,0,0,.25);
  position: relative; z-index: 5;
}
.hero__card h3 { color: var(--green); margin-bottom: .35rem; font-size: 1.25rem; }
.hero__card > p { color: var(--text-light); font-size: .9rem; margin-bottom: 1.25rem; }

/* ============================================
   FEATURES BAR
============================================ */
.features-bar { background: var(--green); padding: 0; }
.features-bar__grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid rgba(255,255,255,.15);
}
.feat-item {
  padding: 1.75rem 1.5rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,.15);
  transition: background var(--trans);
}
.feat-item:last-child { border-right: none; }
.feat-item:hover { background: rgba(0,0,0,.08); }
.feat-item__icon { font-size: 2rem; margin-bottom: .6rem; }
.feat-item__title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .3rem; }
.feat-item__text  { font-size: .8125rem; color: rgba(255,255,255,.75); line-height: 1.5; }

/* ============================================
   SERVICES GRID
============================================ */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.svc-card {
  background: var(--white); border: 1px solid var(--green-border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow);
  transition: all var(--trans); display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 10px 32px rgba(46,125,50,.18); border-color: var(--green); }
.svc-card__img  { height: 190px; background: var(--green-pale); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; overflow: hidden; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-card__body { padding: 1.375rem; flex: 1; display: flex; flex-direction: column; }
.svc-card__tag  { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-bottom: .4rem; }
.svc-card__title { font-size: 1.125rem; margin-bottom: .6rem; }
.svc-card__text  { font-size: .9rem; color: var(--text-light); flex: 1; margin-bottom: 1rem; }
.svc-card__link  { font-size: .875rem; font-weight: 700; color: var(--green); display: inline-flex; align-items: center; gap: .3rem; transition: gap var(--trans); }
.svc-card__link:hover { gap: .6rem; }

/* ============================================
   ABOUT SECTION
============================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap .main-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.15); aspect-ratio: 4/5; background: var(--green-pale); }
.about-img-wrap .main-img img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -1.25rem; right: -1.25rem;
  background: #ffcc02; border-radius: var(--radius);
  padding: 1rem 1.25rem; text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.about-badge .num  { font-family: var(--font-head); font-size: 2.25rem; font-weight: 700; color: var(--text); line-height: 1; }
.about-badge .lbl  { font-size: .75rem; font-weight: 700; color: var(--text-mid); line-height: 1.3; margin-top: .2rem; }
.about-content h2  { margin-bottom: 1rem; }
.about-content p   { color: var(--text-mid); font-size: 1rem; margin-bottom: 1rem; }
.check-list { margin: 1.25rem 0; display: flex; flex-direction: column; gap: .5rem; }
.check-list li { display: flex; align-items: flex-start; gap: .7rem; font-size: .9375rem; color: var(--text-mid); }
.check-list li::before {
  content: '✓'; display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; min-width: 20px; background: var(--green);
  color: white; border-radius: 50%; font-size: .7rem; font-weight: 700; margin-top: .15rem;
}

/* ============================================
   CREDENTIALS
============================================ */
.creds-bar { background: var(--green-pale); border: 1px solid var(--green-border); padding: 2rem 0; }
.creds-inner { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.cred-item {
  display: flex; align-items: center; gap: 1rem;
  background: var(--white); border-radius: var(--radius); padding: 1rem 1.5rem;
  border: 1px solid var(--green-border); box-shadow: 0 2px 8px var(--shadow);
}
.cred-item img { height: 44px; width: auto; }
.cred-item__text strong { display: block; font-size: .875rem; color: var(--text); }
.cred-item__text span   { font-size: .8rem; color: var(--text-light); }

/* ============================================
   TESTIMONIALS
============================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.testi-card {
  background: var(--white); border: 1px solid var(--green-border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  box-shadow: 0 2px 8px var(--shadow); transition: all var(--trans); position: relative;
}
.testi-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(46,125,50,.15); }
.testi-card::before {
  content: '\201C'; font-family: var(--font-head); font-size: 4.5rem;
  color: var(--green); opacity: .12; position: absolute; top: .5rem; left: 1.25rem; line-height: 1;
}
.testi-stars { color: #f9a825; font-size: .9375rem; margin-bottom: .875rem; letter-spacing: .1em; }
.testi-text  { font-style: italic; color: var(--text-mid); font-size: .9375rem; line-height: 1.7; margin-bottom: 1.25rem; }
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--green); flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: .9rem; color: var(--text); }
.testi-loc  { font-size: .8rem; color: var(--text-light); }

/* ============================================
   NEWS GRID
============================================ */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.news-card {
  background: var(--white); border: 1px solid var(--green-border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow); transition: all var(--trans);
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(46,125,50,.15); }
.news-card__img { height: 175px; background: var(--green-pale); overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-card__img img { transform: scale(1.05); }
.news-card__body { padding: 1.25rem; }
.news-card__date  { font-size: .8rem; color: var(--text-light); font-weight: 600; margin-bottom: .4rem; }
.news-card__title { font-size: .9375rem; margin-bottom: .6rem; line-height: 1.4; }
.news-card__title a { color: var(--text); }
.news-card__title a:hover { color: var(--green); }
.news-card__exc   { font-size: .875rem; color: var(--text-light); margin-bottom: .75rem; }
.news-card__link  { font-size: .875rem; font-weight: 700; color: var(--green); }

/* ============================================
   CTA BOX
============================================ */
.cta-box {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 3rem; box-shadow: 0 4px 20px var(--shadow);
  text-align: center; max-width: 780px; margin: 0 auto;
  border: 1px solid var(--green-border);
}
.cta-box h2 { margin-bottom: .75rem; }
.cta-box p  { color: var(--text-light); font-size: 1.0625rem; margin-bottom: 1.75rem; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-btns   { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================
   PAGE HERO (inner pages)
============================================ */
.page.hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 3.5rem 0; text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: .6rem; }
.page-hero p  { color: rgba(255,255,255,.82); font-size: 1.0625rem; max-width: 600px; margin: 0 auto; }
.breadcrumb   { display: flex; align-items: center; gap: .4rem; justify-content: center; margin-bottom: .75rem; font-size: .8125rem; }
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: #a5d6a7; }
.breadcrumb .sep { color: rgba(255,255,255,.35); }
.breadcrumb .cur { color: rgba(255,255,255,.9); }

/* ============================================
   CONTENT PAGE (inner)
============================================ */
.content-wrap { padding: 4rem 0; }
.content-wrap .container { max-width: 860px; }
.content-wrap h2 { margin: 2.5rem 0 .875rem; color: var(--green-dark); }
.content-wrap h3 { margin: 1.75rem 0 .6rem; color: var(--green); }
.content-wrap p  { color: var(--text-mid); font-size: 1rem; margin-bottom: 1rem; }
.content-wrap ul, .content-wrap ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.content-wrap ul { list-style: disc; }
.content-wrap ol { list-style: decimal; }
.content-wrap li { margin-bottom: .5rem; color: var(--text-mid); }
.content-wrap a  { color: var(--green); text-decoration: underline; }

/* ---- Call us box ---- */
.call-box {
  background: var(--green-pale); border: 1px solid var(--green-border);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center; margin-top: 2.5rem;
}
.call-box h3 { color: var(--green-dark); margin-bottom: .5rem; }
.call-box .phone { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--green); display: block; margin: .5rem 0; }

/* ============================================
   FAQ PAGE
============================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--green-border); border-radius: var(--radius); margin-bottom: .875rem; overflow: hidden; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.125rem 1.375rem; cursor: pointer; background: var(--white);
  font-weight: 700; font-size: .9375rem; color: var(--text); transition: background var(--trans);
  user-select: none;
}
.faq-q:hover, .faq-item.open .faq-q { background: var(--green-pale); color: var(--green); }
.faq-icon { width: 22px; height: 22px; min-width: 22px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1rem; font-weight: 300; transition: transform var(--trans); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .25s ease; padding: 0 1.375rem; }
.faq-item.open .faq-a { max-height: 600px; padding: .875rem 1.375rem 1.125rem; }
.faq-a p { color: var(--text-mid); font-size: .9375rem; margin-bottom: 0; }

/* ============================================
   JOBS PAGE
============================================ */
.jobs-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; margin-bottom: 3rem; }
.job-card { background: var(--white); border: 1px solid var(--green-border); border-radius: var(--radius-lg); padding: 1.625rem; box-shadow: 0 2px 8px var(--shadow); transition: all var(--trans); }
.job-card:hover { border-color: var(--green); box-shadow: 0 8px 28px rgba(46,125,50,.15); transform: translateY(-3px); }
.job-type { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--green-pale); color: var(--green); padding: .2rem .7rem; border-radius: 100px; margin-bottom: .6rem; }
.job-card h3 { font-size: 1.125rem; margin-bottom: .4rem; }
.job-loc { font-size: .875rem; color: var(--text-light); margin-bottom: .875rem; }
.job-desc { font-size: .9rem; color: var(--text-mid); margin-bottom: 1.125rem; }

.app-form { background: var(--off-white); border: 1px solid var(--green-border); border-radius: var(--radius-lg); padding: 2.25rem; max-width: 680px; margin: 0 auto; }
.app-form h3 { color: var(--green); margin-bottom: .35rem; }
.app-form > p { color: var(--text-light); font-size: .9rem; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ============================================
   FOOTER
============================================ */
.site-footer { background: #1a3320; color: rgba(255,255,255,.75); }
.footer-main { padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .brand-name { font-family: var(--font-head); font-size: 1.375rem; font-weight: 700; color: var(--white); }
.footer-brand .brand-tag  { font-size: .75rem; color: rgba(255,255,255,.45); display: block; margin-bottom: 1.125rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-ci { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .5rem; font-size: .875rem; }
.footer-ci a { color: rgba(255,255,255,.75); }
.footer-ci a:hover { color: #a5d6a7; }
.socials { display: flex; gap: .625rem; margin-top: 1rem; }
.social-btn {
  width: 36px; height: 36px; background: rgba(255,255,255,.08);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65); font-size: .8125rem; font-weight: 700;
  transition: all var(--trans); text-decoration: none;
}
.social-btn:hover { background: var(--green); color: white; transform: translateY(-2px); }
.footer-col h4 { color: var(--white); font-size: .9375rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 1.125rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .875rem; transition: all var(--trans); display: flex; align-items: center; gap: .35rem; }
.footer-links a::before { content: '›'; font-size: 1rem; color: var(--green-light); }
.footer-links a:hover { color: #a5d6a7; padding-left: .35rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.4); margin: 0; }
.footer-bottom a { font-size: .8rem; color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: #a5d6a7; }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card  { display: none; }
  .features-bar__grid { grid-template-columns: repeat(2,1fr); }
  .about-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .testi-grid, .news-grid { grid-template-columns: 1fr; }
  .jobs-grid   { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: .75rem;
    box-shadow: 0 8px 24px var(--shadow); border-top: 1px solid var(--green-border); gap: .2rem;
  }
  .main-nav.open { display: flex; }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; display: none; padding-left: 1rem; }
  .main-nav li.open .sub-menu { display: block; }
  .menu-toggle { display: flex; }
  .header-phone { font-size: 1rem; }
  .cta-btns { flex-direction: column; align-items: center; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .features-bar__grid { grid-template-columns: 1fr; }
  .hero__btns { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .creds-inner { gap: 1rem; }
}

/* ============================================
   ACCESSIBILITY & WP
============================================ */
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.skip-link { position: absolute; top: -100px; left: 1rem; background: var(--green); color: white; padding: .75rem 1.5rem; border-radius: var(--radius); z-index: 9999; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.alignleft   { float: left;  margin: 0 1.5rem 1rem 0; }
.alignright  { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1rem auto; }


/* ---- Hero full width (no card) ---- */
.hero__inner--full {
  grid-template-columns: 1fr !important;
  max-width: 860px !important;
  text-align: center;
}
.hero__text--centre {
  background: rgba(20,60,20,0.75);
  padding: 3rem 3.5rem;
  border-radius: 16px;
  text-align: center;
}

/* ---- Hero centred wide box ---- */
.hero__inner--full {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  grid-template-columns: unset !important;
}
.hero__text--centre {
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  text-align: center !important;
  padding: 3.5rem 4rem !important;
  background: rgba(20,60,20,0.78) !important;
  border-radius: 16px !important;
}
.hero__text--centre .hero__btns {
  justify-content: center !important;
}
.hero__text--centre .hero__trust {
  justify-content: center !important;
}
.hero__text--centre h1 {
  font-size: clamp(2rem, 4vw, 3rem) !important;
}
@media (max-width: 768px) {
  .hero__text--centre {
    padding: 2rem 1.5rem !important;
  }
}

/* ---- Job application form improvements ---- */
.hc-form .fg {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}
.hc-form .fg label {
  display: block;
  margin-bottom: .4rem;
  font-size: .9375rem;
  color: var(--text);
}
.hc-form .fg strong {
  font-weight: 700;
}
.hc-form input,
.hc-form select,
.hc-form textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--green-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--trans);
  box-sizing: border-box;
}
.hc-form input:focus,
.hc-form select:focus,
.hc-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,125,50,.1);
}
.hc-form textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
.hc-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 600px) {
  .hc-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---- Job form two-column grid ---- */
.job-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.job-form-grid .fg {
  margin-bottom: 0 !important;
}
@media (max-width: 600px) {
  .job-form-grid {
    grid-template-columns: 1fr;
  }
}
