@charset "UTF-8";
/* ==========================================================================
   Divine Care Solutions — site stylesheet
   Rebuilt to match the existing WordPress/Astra/Elementor presentation
   without any of the framework CSS. Single file, no imports at runtime.
   ========================================================================== */

/* --------------------------------------------------------------- fonts --- */
/* Self-hosted: removes the fonts.googleapis.com + fonts.gstatic.com round
   trips entirely. font-display:swap keeps text visible during load.          */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sanchez';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/sanchez-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sanchez';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/sanchez-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sanchez';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/sanchez-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------- tokens --- */
:root {
  /* Colours sampled from the live site's computed styles */
  --c-purple:      #4901a3;
  --c-purple-dark: #38017c;
  --c-teal:        #37b6ab;
  --c-green:       #278575;
  --c-green-dark:  #1f6a5d;
  --c-navy:        #051145;
  --c-heading:     #435460;
  --c-ink:         #303030;
  --c-muted:       #666;
  --c-cream:       #f5efec;
  --c-page:        #f7f8f9;
  --c-white:       #fff;
  --c-border:      #d3d3d3;
  --c-footer:      #7c7c7c;
  --c-footer-bar:  #575757;

  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Sanchez', Georgia, 'Times New Roman', serif;

  --container: 1140px;
  --radius:    10px;
  --radius-pill: 50px;

  --shadow-card: 0 0 10px rgba(0, 0, 0, .1);
  --shadow-soft: 0 2px 12px rgba(0, 0, 0, .08);

  --header-h: 172px;
  --header-h-mobile: 70px;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ----------------------------------------------------------------- base --- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--c-page);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

img, picture, svg { max-width: 100%; }
img { height: auto; border: 0; display: block; }

a { color: var(--c-purple); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--c-heading);
  font-weight: 400;
  margin: 0 0 .6em;
  line-height: 1.3;
}
p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.25em; padding-left: 1.35em; }
li { margin-bottom: .5em; }

hr { border: 0; border-top: 1px solid var(--c-border); margin: 2rem 0; }

/* Visible focus for every interactive element (WCAG 2.4.7 / 2.4.11) */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--c-purple);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Screen-reader-only text */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--c-purple);
  color: #fff;
  padding: .75rem 1.25rem;
  font-weight: 500;
}
.skip-link:focus {
  left: 0;
  text-decoration: none;
}

/* ------------------------------------------------------------ structure --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 15px;
}
.container--wide { max-width: 1410px; }

.section { padding-block: 60px; }
.section--tight { padding-block: 40px; }
.section--cream { background: var(--c-cream); }
.section--white { background: var(--c-white); }

/* ---------------------------------------------------------------- header --- */
.site-header {
  background: var(--c-white);
  position: relative;
  z-index: 50;
}

.header-top {
  padding-block: 15px;
  border-bottom: 1px solid #eee;
}
.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.site-logo img { width: 210px; height: 70px; object-fit: contain; }

.header-contact {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header-phone {
  color: var(--c-teal);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}
.header-phone:hover { color: var(--c-green); }

.social-list {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.social-list li { margin: 0; }
.social-list a {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  color: var(--c-purple);
  transition: transform .2s var(--ease), color .2s var(--ease);
}
.social-list a:hover { transform: translateY(-2px); color: var(--c-teal); }
.social-list svg { width: 22px; height: 22px; fill: currentColor; }

/* nav bar */
.header-nav {
  border-bottom: 1px solid #eee;
}
.header-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: var(--c-navy);
}
.nav-toggle svg { width: 26px; height: 26px; fill: currentColor; display: block; }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav li { margin: 0; position: relative; }
.main-nav > ul > li > a,
.main-nav > ul > li > .nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--c-navy);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .3px;
  text-transform: uppercase;
  padding-block: 8px;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: color .2s var(--ease);
}
.main-nav a:hover,
.main-nav .nav-parent:hover,
.main-nav li.is-current > a { color: var(--c-teal); text-decoration: none; }
.main-nav li.is-current > a { font-weight: 500; }

.nav-parent svg { width: 10px; height: 10px; fill: currentColor; transition: transform .2s var(--ease); }
.has-submenu.is-open > .nav-parent svg { transform: rotate(180deg); }

/* dropdown */
.submenu {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 210px;
  background: var(--c-white);
  box-shadow: var(--shadow-soft);
  border-radius: 6px;
  padding: 8px 0 !important;
  display: none !important;
  flex-direction: column;
  gap: 0 !important;
  align-items: stretch !important;
  z-index: 60;
}
.has-submenu.is-open > .submenu { display: flex !important; }
.submenu li { width: 100%; }
.submenu a {
  display: block;
  padding: 9px 18px;
  color: var(--c-navy);
  font-size: 14px;
  white-space: nowrap;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.submenu a:hover { background: #f5f5f7; color: var(--c-purple); text-decoration: none; }

/* CTA button in header */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn--purple { background: var(--c-purple); color: #fff; }
.btn--purple:hover { background: var(--c-purple-dark); color: #fff; }

.btn--green { background: var(--c-green); color: #fff; }
.btn--green:hover { background: var(--c-green-dark); color: #fff; }

.btn--outline { background: transparent; color: #fff; border-color: #fff; }
.btn--outline:hover { background: #fff; color: var(--c-purple); }

.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; }

/* ------------------------------------------------------------------ hero --- */
.hero {
  position: relative;
  height: 675px;
  overflow: hidden;
  background: #2b2b2b;
}
.hero__track { height: 100%; }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
/* Without JS every slide would stack; show only the first. */
.no-js .hero__slide { position: relative; }
.no-js .hero__slide:not(:first-child) { display: none; }
.no-js .hero__slide:first-child { opacity: 1; visibility: visible; }
.no-js .hero__nav, .no-js .hero__dots { display: none; }

.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Dark scrim so the white headline always clears WCAG contrast */
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .3) 55%, rgba(0, 0, 0, .12) 100%);
}

.hero__content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero__inner { max-width: 560px; color: #fff; }

.hero__title {
  font-family: var(--font-head);
  color: #fff;
  font-size: 46px;
  line-height: 1.25;
  margin: 0 0 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.hero__text {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 26px;
  color: #f2f2f2;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .18);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  z-index: 5;
  transition: background .2s var(--ease);
}
.hero__nav:hover { background: rgba(0, 0, 0, .4); }
.hero__nav--prev { left: 18px; }
.hero__nav--next { right: 18px; }
.hero__nav svg { width: 22px; height: 22px; fill: currentColor; }

.hero__dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.hero__dots button {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.hero__dots button[aria-current="true"] { background: #fff; }

/* ---------------------------------------------------------- page banner --- */
.page-banner {
  position: relative;
  min-height: 455px;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background: var(--c-heading);
}
.page-banner__media { position: absolute; inset: 0; }
.page-banner__media img { width: 100%; height: 100%; object-fit: cover; }
/* Reproduces the site's green→purple duotone wash over each banner photo */
.page-banner__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(70, 250, 177, .55) 0%, rgba(73, 1, 163, .68) 100%);
  mix-blend-mode: multiply;
}
.page-banner__media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .18);
}
.page-banner__inner { position: relative; z-index: 2; padding: 40px 15px; }

.page-banner__title {
  color: #fff;
  font-size: 60px;
  line-height: 1.3;
  margin: 0 0 6px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .3);
}

.breadcrumb { font-family: var(--font-head); font-size: 15px; }
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.breadcrumb li { margin: 0; display: flex; gap: 6px; }
.breadcrumb li + li::before { content: '/'; color: rgba(255, 255, 255, .8); }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: rgba(255, 255, 255, .9); }

/* --------------------------------------------------------------- content --- */
.prose { font-size: 15px; line-height: 1.75; }
.prose p { margin-bottom: 1.4em; }
.prose--center { text-align: center; }
.prose--justify { text-align: justify; }
.prose a { color: var(--c-purple); text-decoration: underline; }

.section-title {
  text-align: center;
  font-size: 44px;
  line-height: 1.3;
  margin-bottom: 40px;
}
.section-title--left { text-align: left; }

/* Purple squiggle divider used beneath several headings */
.squiggle {
  display: block;
  height: 12px;
  margin: 6px 0 22px;
  background-repeat: repeat-x;
  background-position: left center;
  background-size: 26px 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='12' viewBox='0 0 26 12'%3E%3Cpath d='M0 6c2.2-4 4.3-4 6.5 0s4.3 4 6.5 0 4.3-4 6.5 0 4.3 4 6.5 0' fill='none' stroke='%234901a3' stroke-width='2.2'/%3E%3C/svg%3E");
}
.squiggle--center { margin-inline: auto; }

/* ----------------------------------------------------------- service grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  padding: 12px;
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
}
.service-card__media { border-radius: 6px; overflow: hidden; }
.service-card__media img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.service-card__title {
  font-size: 19px;
  font-weight: 700;
  font-style: italic;
  color: #000;
  margin: 18px 0 12px;
}
.service-card__text { font-size: 14px; line-height: 1.7; margin: 0; padding: 0 8px 12px; }

/* ------------------------------------------------------------- CTA band --- */
.cta-band {
  position: relative;
  min-height: 380px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #3a3a3a;
}
.cta-band__media { position: absolute; inset: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
}
.cta-band__inner { position: relative; z-index: 2; padding-block: 60px; }
.cta-band__title {
  color: #fff;
  font-size: 40px;
  line-height: 1.35;
  max-width: 560px;
  margin: 0 0 28px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

/* --------------------------------------------------------- split content --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.split + .split { margin-top: 70px; }
.split__media img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}
/* Alternating rows: media on the right for even-numbered blocks */
.split--reverse .split__media { order: 2; }
.split--reverse .split__body { order: 1; }
.split__title { font-size: 26px; font-weight: 700; font-style: italic; color: #000; margin-bottom: 0; }
.split__body ol, .split__body ul { padding-left: 1.3em; }
.split__body li { font-size: 14.5px; line-height: 1.7; }

/* ---------------------------------------------------------- bullet lists --- */
.tick-list { list-style: none; padding: 0; margin: 0 0 1.5em; }
.tick-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  font-size: 14.5px;
  line-height: 1.7;
}
.tick-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--c-ink);
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px var(--c-ink);
}

/* ---------------------------------------------------------------- FAQ --- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  align-items: start;
}
.faq-col { display: grid; gap: 16px; align-content: start; }

.faq-item {
  background: var(--c-white);
  border: 1px solid #e6e6e8;
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 22px;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 16px;
  line-height: 1.45;
  color: var(--c-heading);
}
.faq-item__q:hover { color: var(--c-purple); }
.faq-item__icon {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  position: relative;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.faq-item__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-item__icon::after  { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item__q[aria-expanded="true"] .faq-item__icon::after { transform: rotate(90deg); opacity: 0; }

.faq-item__a {
  padding: 0 22px;
  overflow: hidden;
  font-size: 14.5px;
  line-height: 1.75;
}
.faq-item__a[hidden] { display: none; }
.faq-item__a-inner { padding-bottom: 22px; border-top: 1px solid #eee; padding-top: 18px; }
.faq-item__a ul { padding-left: 1.25em; }
.faq-item__a li { margin-bottom: .55em; }

/* --------------------------------------------------------------- forms --- */
.form-card {
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 38px 34px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 26px;
}
.form-grid--4 { grid-template-columns: repeat(4, 1fr); }
.form-grid--3 { grid-template-columns: 2fr 1fr 1fr; }
.field--full { grid-column: 1 / -1; }

/* Two short fields sharing one grid cell (State + Post Code on the Enquiries
   form). Nesting keeps them inside the parent column, so the outer column edges
   stay aligned with every other field in the form. */
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 26px;
  min-width: 0;
  align-items: start;
}

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > label,
.fieldset__legend {
  font-size: 14px;
  color: var(--c-ink);
  font-weight: 400;
}
.field .req { color: #c0392b; }

.input, .select, .textarea {
  width: 100%;
  font-family: var(--font-head);
  font-size: 14px;
  color: #666;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.select {
  background: #f6f6f7;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--c-purple);
  box-shadow: 0 0 0 3px rgba(73, 1, 163, .12);
  outline: none;
  color: var(--c-ink);
}
.input::placeholder, .textarea::placeholder { color: #9a9a9a; }

.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, .1);
}

.field__error {
  color: #c0392b;
  font-size: 13px;
  line-height: 1.4;
}

.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset__legend { padding: 0; margin-bottom: 10px; }

.radio-row { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}
.radio input { width: 17px; height: 17px; accent-color: var(--c-purple); margin: 0; cursor: pointer; }

.form-subtitle {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--c-ink);
  margin: 10px 0 0;
}

.file-input {
  font-size: 13px;
  padding: 10px 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-white);
  width: 100%;
}
.file-input::file-selector-button {
  font-family: inherit;
  font-size: 13px;
  padding: 7px 14px;
  margin-right: 12px;
  border: 0;
  border-radius: var(--radius-pill);
  background: #ececf1;
  color: var(--c-ink);
  cursor: pointer;
}
.file-input::file-selector-button:hover { background: #dedee6; }
.field__hint { font-size: 12.5px; color: var(--c-muted); }

/* Honeypot — visually gone but not display:none, which some bots detect */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-actions { margin-top: 26px; }

/* alerts */
.alert {
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 26px;
  font-size: 14.5px;
  line-height: 1.6;
  border: 1px solid transparent;
}
.alert--success { background: #e8f6f1; border-color: #b6e1d4; color: #16624f; }
.alert--error   { background: #fdecea; border-color: #f5c6c2; color: #8e2a20; }
.alert__title { font-weight: 600; margin: 0 0 4px; }
.alert ul { margin: 8px 0 0; padding-left: 1.2em; }
.alert li { margin-bottom: .3em; }

/* ------------------------------------------------------------- footer --- */
.site-footer { background: var(--c-footer); color: #fff; }
.site-footer a { color: #fff; }

.footer-main { padding-block: 55px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-logo img { width: 320px; height: 107px; object-fit: contain; }

.footer-heading {
  font-family: var(--font-head);
  color: #fff;
  font-size: 24px;
  margin: 0 0 20px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.footer-links a::before {
  content: '';
  width: 6px; height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.footer-links a:hover { text-decoration: none; opacity: .85; transform: translateX(2px); }

.footer-social { display: flex; gap: 10px; margin-bottom: 26px; }
.footer-social a {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform .2s var(--ease);
}
.footer-social a:hover { transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.fs--facebook  { background: #1877f2; }
.fs--twitter   { background: #1da1f2; }
.fs--instagram { background: #c13584; }
.fs--youtube   { background: #f00; }

.footer-contact p { margin: 0 0 10px; font-size: 15px; }
.footer-contact strong { font-family: var(--font-head); font-weight: 400; }
.footer-contact a:hover { text-decoration: underline; }

.footer-bar {
  background: var(--c-footer-bar);
  padding-block: 18px;
  font-size: 14px;
}
.footer-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  justify-content: space-between;
  align-items: center;
}
.footer-bar__credit a { color: #f0a500; }

/* -------------------------------------------------------- error pages --- */
.error-page { padding-block: 90px; text-align: center; }
.error-page__code {
  font-family: var(--font-head);
  font-size: 96px;
  line-height: 1;
  color: var(--c-purple);
  margin: 0 0 10px;
}
.error-page__title { font-size: 32px; margin-bottom: 14px; }
.error-page__text { max-width: 560px; margin: 0 auto 30px; }
.error-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }

/* =========================================================== responsive === */

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
  .hero__title { font-size: 40px; }
  .section-title { font-size: 36px; }
  .page-banner__title { font-size: 46px; }
  .split { gap: 34px; }
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .split, .split--reverse { grid-template-columns: 1fr; gap: 26px; }
  .split--reverse .split__media,
  .split--reverse .split__body { order: initial; }
  .form-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .form-grid--3 { grid-template-columns: 1fr 1fr; }
}

/* Mobile navigation ------------------------------------------------------- */
@media (max-width: 782px) {
  .header-top { display: none; }

  .header-nav__inner { min-height: var(--header-h-mobile); }
  .nav-toggle { display: inline-flex; order: 3; }

  .site-header .site-logo { display: inline-flex; }
  .site-logo img { width: 165px; height: 55px; }

  .header-nav__inner { justify-content: space-between; }
  .header-nav .btn { display: none; }

  .main-nav {
    position: fixed;
    inset: var(--header-h-mobile) 0 0 auto;
    width: min(320px, 86vw);
    background: #fff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, .16);
    transform: translateX(100%);
    transition: transform .28s var(--ease);
    overflow-y: auto;
    padding: 18px 22px 40px;
    z-index: 90;
    visibility: hidden;
  }
  .main-nav.is-open { transform: translateX(0); visibility: visible; }

  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid #f0f0f2; }
  .main-nav > ul > li > a,
  .main-nav > ul > li > .nav-parent {
    padding: 14px 2px;
    width: 100%;
    justify-content: space-between;
    font-size: 15px;
  }

  .submenu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 8px 14px !important;
    min-width: 0;
    background: transparent;
  }
  .submenu a { padding: 10px 2px; }

  .mobile-cta { display: block; margin-top: 22px; }
  .mobile-cta .btn { width: 100%; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s var(--ease), visibility .28s var(--ease);
    z-index: 80;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  body.nav-open { overflow: hidden; }
}

@media (min-width: 783px) {
  .mobile-cta, .nav-backdrop { display: none; }
  /* Keyboard users get the dropdown on focus as well as click */
  .has-submenu:focus-within > .submenu { display: flex !important; }
}

@media (max-width: 680px) {
  .section { padding-block: 42px; }
  .hero { height: 540px; }
  .hero__title { font-size: 32px; }
  .hero__text { font-size: 14.5px; }
  .hero__nav { width: 36px; height: 36px; }
  .hero__nav--prev { left: 8px; }
  .hero__nav--next { right: 8px; }

  .page-banner { min-height: 300px; }
  .page-banner__title { font-size: 34px; }
  .breadcrumb { font-size: 14px; }

  .section-title { font-size: 29px; margin-bottom: 28px; }
  .card-grid { grid-template-columns: 1fr; gap: 24px; }

  .cta-band__title { font-size: 28px; }
  .cta-band { min-height: 320px; }

  .form-card { padding: 24px 18px; }
  .form-grid, .form-grid--4, .form-grid--3 { grid-template-columns: 1fr; gap: 16px; }
  /* State + Post Code stay paired on narrow screens — both are short fields. */
  .field-pair { gap: 0 14px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-logo img { width: 250px; height: 84px; }
  .footer-bar__inner { justify-content: center; text-align: center; }

  .prose--justify { text-align: left; }
  .error-page__code { font-size: 68px; }
}

/* ------------------------------------------------------------ printing --- */
@media print {
  .site-header, .site-footer, .hero__nav, .hero__dots, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .page-banner { min-height: auto; background: none; }
  .page-banner__media { display: none; }
  .page-banner__title { color: #000; text-shadow: none; }
}
