/* =========================================================
   IProtect Ventures — shared stylesheet
   Design canvas 1800px · container 1170px
   Breakpoints: tablet ≤767px · mobile ≤599px
   Minimum font size 16px everywhere
   ========================================================= */

:root {
  --red: #d91e25;
  --ink: #100f0d;
  --dark: #1d1c1b;
  --footer: #181615;
  --grey-bg: #f8f8f8;
  --quote: #f9e7ea;
  --muted: #878888;
  --footer-text: #e1e0de;
  --white: #fff;
  --container: 1170px;
  --gutter: 24px;
  --font: 'Poppins', Arial, Helvetica, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 218px;
  height: 52px;
  padding: 0 16px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font);
  font-size: 23.5px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: background-color .2s;
}
.btn:hover { background: #b8161c; }

/* ---------- Eyebrow label ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--red);
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.eyebrow__icon { width: 17px; height: 17px; flex: none; }

/* =========================================================
   TOP BAR
   ========================================================= */
.topbar {
  background: var(--dark);
  color: var(--white);
  height: 58px;
}
.topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
}
.topbar__contact { display: flex; height: 100%; }
.topbar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 30px;
  margin-right: 30px;
  border-right: 1px solid #f0f0ef;
}
.topbar__item:last-child { padding-right: 30px; }
.topbar__label {
  font-size: 16px;
  font-weight: 300;
  text-transform: uppercase;
  color: #b9b9b9;
}
.topbar__value {
  font-size: 16px;
  font-weight: 600;
}
.topbar__item--email .topbar__value { text-transform: uppercase; }

.social { display: flex; gap: 12px; }
.social a {
  width: 27px;
  height: 27px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background-color .2s, color .2s;
}
.social a:hover { background: var(--white); color: var(--dark); }
.social svg { width: 13px; height: 13px; fill: currentColor; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  background: var(--white);
  height: 99px;
  position: relative;
  z-index: 20;
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
}
.site-logo img { width: 210px; height: auto; margin-left: -5px; }

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 29px;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--ink);
  transition: background-color .2s, color .2s;
}
.main-nav li:last-child a { padding-right: 0; }
.main-nav a:hover { color: var(--red); }
.main-nav .is-active a,
.main-nav .current-menu-item a,
.main-nav li:last-child.is-active a,
.main-nav li:last-child.current-menu-item a {
  background: var(--red);
  color: var(--white);
  padding: 0 14px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform .2s, opacity .2s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HOME — HERO
   ========================================================= */
.hero {
  height: 752px;
  background: #1a0a0b url(../img/hero-bg.jpg) center / cover no-repeat;
  color: var(--white);
  display: flex;
}
.hero .container { padding-top: 135px; }
.hero .container > * { margin-left: -6px; }
.hero__title {
  margin-left: -10px !important;
  font-size: 108px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}
.hero__subtitle {
  margin-top: 11px;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
}
.hero__text {
  margin-top: 14px;
  font-size: 24px;
  font-weight: 500;
  line-height: 38px;
}
.hero .btn { margin-top: 26px; }

/* =========================================================
   QUOTE BLOCK (Home + About)
   ========================================================= */
.quote { position: relative; }
.quote__mark {
  position: absolute;
  left: -97px;
  top: -31px;
  width: 113px;
  height: 95px;
  fill: var(--quote);
  z-index: 0;
}
.quote__text {
  position: relative;
  font-size: 36px;
  font-style: italic;
  font-weight: 400;
  line-height: 47px;
  color: var(--ink);
}
.quote__words {
  position: relative;
  margin-top: 3px;
  color: var(--red);
  font-size: 42px;
  font-weight: 700;
  line-height: 50px;
  text-transform: uppercase;
}

/* =========================================================
   HOME — ABOUT INTRO
   ========================================================= */
.home-about { padding: 134px 0 130px; }
.split {
  display: grid;
  grid-template-columns: 1fr 670px;
  gap: 18px;
  align-items: center;
}
.home-about .btn { margin-top: 24px; }
@media (min-width: 1219px) {
  .quote__text, .quote__words, .home-services__text { white-space: nowrap; }
}
.home-about__img img { width: 670px; height: 479px; object-fit: cover; }

/* =========================================================
   HOME — VALUES BAND
   ========================================================= */
.values-band {
  background: var(--dark) url(../img/dark-wave-bg.jpg) center / cover no-repeat;
  color: var(--white);
  padding: 113px 0 135px;
}
.values-band__title {
  margin-top: 27px;
  font-size: 48px;
  font-weight: 400;
  line-height: 57px;
}
.values-band .btn { margin-top: 40px; }

/* =========================================================
   HOME — SERVICES TEASER
   ========================================================= */
.home-services {
  background: var(--grey-bg);
  padding: 132px 0 141px;
}
.home-services .split {
  grid-template-columns: 1fr 650px;
  gap: 30px;
  align-items: start;
}
.home-services .eyebrow { margin-top: -3px; }
.home-services__title {
  margin-top: 10px;
  font-size: 47px;
  font-weight: 600;
  line-height: 59px;
}
.home-services__text {
  margin-top: 10px;
  font-size: 36px;
  font-style: italic;
  font-weight: 400;
  line-height: 47px;
}
.home-services .btn { margin-top: 20px; }
.home-services__img img { width: 650px; height: 512px; object-fit: cover; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--footer);
  color: var(--footer-text);
  padding: 68px 0 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 370px 477px 1fr;
  align-items: start;
}
.footer-logo img { width: 282px; height: auto; margin-left: -5px; }
.footer-heading {
  color: var(--white);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}
.footer-contact { margin-top: 26px; display: grid; gap: 12px; }
.footer-contact li {
  display: grid;
  grid-template-columns: 22px 90px 1fr;
  column-gap: 12px;
  align-items: start;
  font-size: 16px;
  line-height: 24px;
}
.footer-contact__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.footer-contact__icon svg { width: 12px; height: 12px; fill: #fff; }
.footer-contact__label { color: var(--muted); text-transform: uppercase; }
.footer-contact__value { color: var(--footer-text); font-weight: 600; }
.footer-contact__value a:hover { color: var(--white); text-decoration: underline; }

.quick-links {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 195px max-content;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  row-gap: 12px;
  padding-left: 30px;
}
.quick-links li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.quick-links li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
}
.quick-links a:hover { color: var(--white); }

.footer-bar {
  background: var(--red);
  color: var(--white);
  height: 57px;
}
.footer-bar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bar p { font-size: 16px; line-height: 1.3; padding-left: 14px; }
.footer-bar .social { gap: 15px; margin-right: 10px; }
.footer-bar .social a { width: 35px; height: 35px; }
.footer-bar .social a:hover { color: var(--red); }
.footer-bar .social svg { width: 16px; height: 16px; }

/* =========================================================
   INNER PAGE BANNER (About / Values / Services / Contact)
   ========================================================= */
.page-banner {
  height: 410px;
  background: #2a0d0f url(../img/page-banner.jpg) center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--gutter) 24px;
  text-align: center;
}
.page-banner__title {
  color: var(--white);
  font-size: 108px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

/* =========================================================
   ABOUT — INTRO
   ========================================================= */
.about-intro { padding: 104px 0 116px; }
.about-intro__grid {
  display: grid;
  grid-template-columns: 586px 1fr;
  align-items: start;
}
.quote--lg .quote__words {
  margin-top: 6px;
  font-size: 60px;
  line-height: 66px;
}
.about-intro__body { max-width: 590px; margin-top: -10px; }
.about-intro__body p {
  font-size: 18px;
  line-height: 37.5px;
  color: var(--ink);
}
.about-intro__body p + p { margin-top: 36px; }

/* =========================================================
   ABOUT — VISION / MISSION
   ========================================================= */
.eyebrow--lg { font-size: 24px; letter-spacing: .03em; }
.vm__dark {
  background: var(--dark) url(../img/dark-wave-bg.jpg) center / cover no-repeat;
  color: var(--white);
  padding: 156px 0 72px;
}
.vm__light { padding: 55px 0 137px; }
.vm__inner { position: relative; padding-left: calc(604px + var(--gutter)); }
.vm__poster {
  position: absolute;
  left: var(--gutter);
  top: 3px;
  width: 502px;
  z-index: 2;
}
.vm__poster img {
  width: 502px;
  height: 771px;
  object-fit: cover;
  box-shadow: 0 22px 40px rgba(0, 0, 0, .14);
}
.vm__text { width: 600px; }
@media (max-width: 1300px) { .vm__text { width: auto; max-width: 600px; } }
.vm__title {
  margin-top: 13px;
  font-size: 48px;
  font-weight: 400;
  line-height: 60px;
}
.vm__copy {
  margin-top: 14px;
  font-size: 18px;
  line-height: 35px;
}
.vm__dark .vm__copy { color: var(--white); }
.vm__light .vm__copy { color: var(--ink); }

@media (max-width: 1300px) {
  .about-intro__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .quote--lg .quote__words { font-size: 48px; line-height: 56px; }
  .vm__inner { padding-left: calc(42% + var(--gutter)); }
  .vm__poster { width: calc(42% - 40px); }
  .vm__poster img { width: 100%; height: auto; aspect-ratio: 502 / 771; }
}
@media (max-width: 1100px) {
  .page-banner { height: 320px; }
  .page-banner__title { font-size: 80px; }
  .about-intro__grid { grid-template-columns: 1fr; gap: 56px; }
  .quote--lg { padding-left: 40px; }
  .vm__title { font-size: 40px; line-height: 50px; }
}
@media (max-width: 767px) {
  .page-banner { height: 220px; padding-bottom: 0; }
  .page-banner__title { font-size: 48px; }
  .about-intro { padding: 72px 0; }
  .quote--lg { padding-left: 0; }
  .quote--lg .quote__words { font-size: 34px; line-height: 42px; }
  .about-intro__body p { font-size: 17px; line-height: 30px; }
  .about-intro__body p + p { margin-top: 24px; }
  .vm__dark { padding: 64px 0; }
  .vm__light { padding: 64px 0; }
  .vm__inner { padding-left: var(--gutter); }
  .vm__poster { position: static; width: 100%; max-width: 420px; margin: 0 0 40px; }
  .eyebrow--lg { font-size: 18px; }
  .vm__title { font-size: 32px; line-height: 42px; }
  .vm__title br, .vm__copy br { display: none; }
  .vm__copy { font-size: 17px; line-height: 30px; }
}
@media (max-width: 599px) {
  .page-banner { height: 180px; }
  .page-banner__title { font-size: 36px; }
  .quote--lg .quote__words { font-size: 28px; line-height: 36px; }
  .vm__title { font-size: 28px; line-height: 38px; }
}

/* =========================================================
   VALUES PAGE
   ========================================================= */
.values-why { padding: 102px 0 87px; }
.values-why__grid {
  display: grid;
  grid-template-columns: 399px 1fr;
  align-items: start;
}
.values-why__title {
  margin-top: 11px;
  font-size: 47px;
  font-weight: 600;
  line-height: 58px;
  color: var(--ink);
}
.value-cards {
  display: grid;
  grid-template-columns: repeat(2, 373px);
  column-gap: 24px;
  row-gap: 26px;
}
.value-card {
  position: relative;
  min-height: 338px;
  padding: 38px 39px 28px 32px;
  border: 1px solid #e2e1df;
  background: var(--white);
}
.value-card::before {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 108px;
  height: 108px;
  background: var(--white);
  border-left: 1px solid #e2e1df;
  border-bottom: 1px solid #e2e1df;
}
.value-card__icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 91px;
  height: 91px;
  z-index: 1;
}
.value-card__title {
  font-size: 27px;
  font-weight: 600;
  line-height: 37px;
  color: var(--ink);
}
.value-card__text {
  margin-top: 14px;
  font-size: 18px;
  line-height: 29px;
  color: var(--ink);
}

@media (max-width: 1300px) {
  .values-why__grid { grid-template-columns: 300px 1fr; }
  .value-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .values-why__grid { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .values-why__title br { display: none; }
}
@media (max-width: 767px) {
  .values-why { padding: 64px 0; }
  .values-why__title { font-size: 32px; line-height: 42px; margin-top: 18px; }
  .value-cards { grid-template-columns: minmax(0, 1fr); }
  .value-card { min-height: 0; }
  .value-card__title { font-size: 24px; line-height: 32px; padding-right: 100px; }
  .value-card__text { font-size: 17px; line-height: 28px; }
}
@media (max-width: 599px) {
  .values-why__title { font-size: 28px; line-height: 38px; }
}

/* =========================================================
   SERVICES PAGE
   ========================================================= */
.services { padding: 108px 0 109px; }
.services .eyebrow { margin-top: 0; }
.services__head {
  display: grid;
  grid-template-columns: 374px 1fr;
  align-items: end;
}
.services__title {
  margin-top: 14px;
  font-size: 47px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.services__intro {
  font-size: 17px;
  line-height: 22px;
  color: var(--ink);
  padding-bottom: 6px;
}
.service-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 31px;
  row-gap: 39px;
}
.service-card {
  min-height: 660px;
  border: 1px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 36px;
}
.service-card__media { position: relative; margin-bottom: 66px; }
.service-card__media img { width: 100%; aspect-ratio:4/3; object-fit: cover; }
.service-card__num {
  position: absolute;
  left: 50%;
  bottom: -46px;
  transform: translateX(-50%);
  width: 91px;
  height: 91px;
  border-radius: 20px;
  background: var(--red);
  color: var(--white);
  font-size: 56px;
  font-weight: 700;
  line-height: 91px;
}
.service-card__title {
  padding: 0 20px;
  font-size: 25px;
  font-weight: 600;
  line-height: 32px;
  color: var(--ink);
}
@media (min-width: 1219px) {
  .service-card__title { white-space: nowrap; }
}
.service-card__text {
  margin-top: 9px;
  padding: 0 28px;
  font-size: 18px;
  line-height: 29px;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .services__head { grid-template-columns: 1fr; row-gap: 16px; }
  .services__intro br { display: none; }
  .service-card { min-height: 0; }
}
@media (max-width: 767px) {
  .services { padding: 64px 0; }
  .services__title { font-size: 32px; }
  .services__intro { font-size: 17px; line-height: 28px; }
  .service-grid { grid-template-columns: minmax(0, 1fr); margin-top: 40px; row-gap: 28px; }
  .service-card__media img { height: auto; aspect-ratio: 567 / 348; }
  .service-card__num { width: 72px; height: 72px; line-height: 72px; font-size: 40px; bottom: -36px; border-radius: 16px; }
  .service-card__media { margin-bottom: 52px; }
  .service-card__title { padding: 0 20px; font-size: 22px; line-height: 30px; }
  .service-card__text { padding: 0 20px; font-size: 17px; line-height: 28px; }
}
@media (max-width: 599px) {
  .services__title { font-size: 28px; }
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact { padding: 86px 0 124px; }
.contact__title {
  margin-top: 9px;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}
.contact__intro {
  margin-top: 42px;
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
  color: var(--ink);
  padding-bottom: 16px;
  border-bottom: 2px solid #efeeee;
}
.contact__privacy {
  margin-top: 16px;
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--ink);
}

.contact-form { margin-top: 47px; }
.cf-row { display: grid; gap: 39px; margin-bottom: 26px; }
.cf-row--2 { grid-template-columns: 568px 1fr; }
.field { position: relative; display: block; }
.field input,
.field textarea {
  width: 100%;
  height: 60px;
  padding: 0 90px 0 34px;
  border: 1px solid #dddcdc;
  border-radius: 0;
  background: var(--white);
  font-family: var(--font);
  font-size: 18px;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
}
.field.is-required input { padding-left: 44px; }
.field textarea {
  height: 166px;
  padding-top: 20px;
  padding-bottom: 20px;
  resize: vertical;
  display: block;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #4a4a4a;
  font-style: italic;
  font-weight: 300;
  opacity: 1;
}
.field input:focus,
.field textarea:focus { border-color: var(--red); outline: none; }
.field__req {
  position: absolute;
  left: 34px;
  top: 30px;
  transform: translateY(-50%);
  color: var(--red);
  font-size: 18px;
  font-style: italic;
  pointer-events: none;
}
.field input:not(:placeholder-shown) ~ .field__req { display: none; }
.field__icon {
  position: absolute;
  top: 10px;
  right: 0;
  width: 76px;
  height: 40px;
  border-left: 1px solid #dddcdc;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.field__icon svg { width: 20px; height: 20px; fill: #9a9a9a; }
.field--textarea .field__icon { top: 12px; }

.cf-interest { border: 0; margin: 37px 0 0; padding: 0; }
.cf-interest legend {
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.cf-check {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-top: 23px;
  font-size: 18px;
  line-height: 26px;
  color: var(--ink);
  cursor: pointer;
}
.cf-interest legend + .cf-check { margin-top: 26px; }
.cf-check input {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  margin: 0;
  flex: none;
  border: 2px solid var(--ink);
  background: var(--white);
  cursor: pointer;
  display: grid;
  place-content: center;
}
.cf-check input::after,
.cf-consent input::after {
  content: '';
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg) translate(1px, -1px);
  display: none;
}
.cf-check input:checked { background: var(--red); border-color: var(--red); }
.cf-check input:checked::after,
.cf-consent input:checked::after { display: block; }

.field--textarea { margin-top: 40px; }

.cf-consent {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 18px;
  font-weight: 300;
  color: #9a9a9a;
  cursor: pointer;
}
.cf-consent input {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid #c9c8c8;
  display: grid;
  place-content: center;
  cursor: pointer;
}
.cf-consent input::after { width: 9px; height: 5px; }
.cf-consent input:checked { background: var(--red); border-color: var(--red); }

.cf-foot {
  margin-top: 17px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.cf-foot p {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  padding-bottom: 0;
}
.cf-foot .btn { margin-right: -3px; margin-bottom: 3px; }

@media (max-width: 1300px) {
  .cf-row--2 { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 767px) {
  .contact { padding: 64px 0; }
  .contact__title { font-size: 32px; }
  .contact__intro br { display: none; }
  .contact__intro { line-height: 28px; }
  .cf-row, .cf-row--2 { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
  .cf-check { font-size: 18px; align-items: flex-start; gap: 14px; }
  .cf-check span { padding-top: 2px; }
  .field input, .field textarea { padding-right: 70px; padding-left: 20px; }
  .field.is-required input { padding-left: 30px; }
  .field__req { left: 20px; }
  .field__icon { width: 56px; }
  .cf-foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 599px) {
  .contact__title { font-size: 28px; }
  .cf-foot .btn { width: 100%; margin-right: 0; }
}

/* ---------- Form states (same classes Contact Form 7 outputs) ---------- */
.cf-consent a { color: inherit; text-decoration: underline; }
.cf-consent a:hover { color: var(--red); }
.field .wpcf7-form-control-wrap { display: block; }
.field input.wpcf7-not-valid,
.field textarea.wpcf7-not-valid,
.field input.is-invalid,
.field textarea.is-invalid { border-color: var(--red); }
.wpcf7-not-valid-tip,
.cf-tip {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--red);
}
.cf-consent .cf-tip { margin: 0 0 0 8px; }
.wpcf7-response-output,
.cf-response {
  margin: 28px 0 0 !important;
  padding: 14px 20px !important;
  border: 1px solid #dddcdc !important;
  font-size: 16px;
  line-height: 1.5;
}
.cf-response[hidden] { display: none; }
.wpcf7 form.invalid .wpcf7-response-output,
.cf-response.is-error { border-color: var(--red) !important; color: var(--red); }
.wpcf7 form.sent .wpcf7-response-output,
.cf-response.is-ok { border-color: #2e7d32 !important; color: #2e7d32; }
.wpcf7-spinner { display: none; }
.wpcf7 form.submitting .wpcf7-spinner { display: inline-block; }

/* =========================================================
   WORDPRESS EXTRAS
   ========================================================= */
.screen-reader-text {
  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:focus {
  position: fixed !important;
  top: 8px; left: 8px;
  width: auto; height: auto;
  padding: 12px 18px;
  clip: auto;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  z-index: 1000;
}
.site-logo img { max-height: 80px; width: auto; max-width: 210px; }
.page-banner__title--sm { font-size: 72px; }
.service-card__noimg { display: block; height: 348px; background: #2a2a2a; }

/* Default pages (Privacy Policy etc.) */
.entry { padding: 90px 0 110px; }
.entry-content { max-width: 900px; font-size: 18px; line-height: 1.8; color: var(--ink); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 32px; font-weight: 600; line-height: 1.3; margin-top: 1.6em; }
.entry-content h3 { font-size: 24px; font-weight: 600; line-height: 1.35; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content a { color: var(--red); text-decoration: underline; }
.entry-content img { margin: 0 auto; }
.entry-list__item + .entry-list__item { margin-top: 40px; }

/* =========================================================
   CONTACT FORM 7 (same look as the HTML build)
   ========================================================= */
.contact-form .wpcf7 { margin: 0; }
.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form__missing { padding: 20px; border: 1px dashed var(--red); font-size: 16px; }

/* Asterisk hides once the visitor types */
.field:has(input:not(:placeholder-shown)) .field__req { display: none; }

/* Field icons (CSS, so they work inside the CF7 form) */
.field__icon::before {
  content: '';
  width: 20px;
  height: 20px;
  background: #9a9a9a;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.field__icon:has(svg)::before { display: none; }
.field__icon--user    { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9zm0 2c-4.4 0-8 2.2-8 5v2h16v-2c0-2.8-3.6-5-8-5z'/%3E%3C/svg%3E"); }
.field__icon--phone   { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.field__icon--email   { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 6.5 12 13l10-6.5V6a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1zm0 2.4V18a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V8.9l-10 6.4z'/%3E%3C/svg%3E"); }
.field__icon--company { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 1 7 7c0 5.2-7 13-7 13S5 14.2 5 9a7 7 0 0 1 7-7zm0 3.5a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7z'/%3E%3C/svg%3E"); }
.field__icon--message { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.5 3 2 6.6 2 11c0 2.3 1.2 4.4 3.2 5.8L4.5 21l4.4-2.3c1 .2 2 .3 3.1.3 5.5 0 10-3.6 10-8s-4.5-8-10-8z'/%3E%3C/svg%3E"); }

/* Interest checkboxes */
.cf-interest { margin-top: 37px; }
.cf-interest__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.cf-interest .wpcf7-checkbox { display: block; margin-top: 26px; }
.cf-interest .wpcf7-list-item { display: block; margin: 0; }
.cf-interest .wpcf7-list-item + .wpcf7-list-item { margin-top: 23px; }
.cf-interest .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 21px;
  font-size: 18px;
  line-height: 26px;
  color: var(--ink);
  cursor: pointer;
}
.cf-interest input[type=checkbox] {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  margin: 0;
  flex: none;
  border: 2px solid var(--ink);
  background: var(--white);
  cursor: pointer;
  display: grid;
  place-content: center;
}
.cf-interest input[type=checkbox]::after,
.cf-consent input[type=checkbox]::after {
  content: '';
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg) translate(1px, -1px);
  display: none;
}
.cf-interest input[type=checkbox]:checked { background: var(--red); border-color: var(--red); }
.cf-interest input[type=checkbox]:checked::after,
.cf-consent input[type=checkbox]:checked::after { display: block; }

/* Consent */
div.cf-consent { display: block; margin-top: 20px; }
.cf-consent .wpcf7-list-item { margin: 0; }
.cf-consent .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 300;
  color: #9a9a9a;
  cursor: pointer;
}
.cf-consent input[type=checkbox] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  flex: none;
  border: 1px solid #c9c8c8;
  display: grid;
  place-content: center;
  cursor: pointer;
}
.cf-consent input[type=checkbox]::after { width: 9px; height: 5px; }
.cf-consent input[type=checkbox]:checked { background: var(--red); border-color: var(--red); }

/* Submit row */
.cf-foot { position: relative; }
.cf-foot input.btn { -webkit-appearance: none; appearance: none; border-radius: 0; }
.cf-foot .wpcf7-spinner { position: absolute; right: 230px; bottom: 16px; margin: 0; }
.contact-form .wpcf7-not-valid-tip { font-size: 16px; color: var(--red); margin-top: 6px; }
.contact-form .wpcf7-not-valid { border-color: var(--red) !important; }
.contact-form .wpcf7 form .wpcf7-response-output {
  margin: 28px 0 0;
  padding: 14px 20px;
  font-size: 16px;
  line-height: 1.5;
  border: 1px solid #dddcdc;
}
.contact-form .wpcf7 form.invalid .wpcf7-response-output,
.contact-form .wpcf7 form.unaccepted .wpcf7-response-output,
.contact-form .wpcf7 form.failed .wpcf7-response-output,
.contact-form .wpcf7 form.aborted .wpcf7-response-output,
.contact-form .wpcf7 form.spam .wpcf7-response-output { border-color: var(--red); color: var(--red); }
.contact-form .wpcf7 form.sent .wpcf7-response-output { border-color: #2e7d32; color: #2e7d32; }

@media (max-width: 767px) {
  .page-banner__title--sm { font-size: 40px; }
  .entry { padding: 56px 0 72px; }
  .entry-content { font-size: 17px; }
  .cf-interest .wpcf7-list-item label { align-items: flex-start; gap: 14px; }
  .cf-foot .wpcf7-spinner { position: static; }
}

/* =========================================================
   RESPONSIVE — large screens below the 1800 design
   ========================================================= */
@media (max-width: 1300px) {
  .topbar__inner,
  .site-header__inner { padding: 0 var(--gutter); }
  .main-nav a { padding: 0 18px; }
  .hero__title { font-size: 88px; }
  .split { grid-template-columns: 1fr 52%; }
  .home-services .split { grid-template-columns: 1fr 52%; }
  .home-about__img img,
  .home-services__img img { width: 100%; height: auto; aspect-ratio: 670 / 479; }
  .home-services__img img { aspect-ratio: 650 / 512; }
  .quote__mark { left: -20px; }
  .quote__text, .quote__words { padding-left: 40px; }
  .footer-grid { grid-template-columns: 300px 1fr 300px; }
  .quick-links { padding-left: 0; grid-template-columns: max-content max-content; column-gap: 40px; }
}

@media (max-width: 1100px) {
  .main-nav a { padding: 0 12px; font-size: 16px; }
  .topbar__item { padding-right: 18px; margin-right: 18px; }
  .hero { height: auto; min-height: 640px; }
  .hero .container { padding-top: 110px; padding-bottom: 110px; }
  .hero__title { font-size: 72px; }
  .hero__subtitle { font-size: 40px; }
  .quote__text, .home-services__text { font-size: 30px; line-height: 40px; }
  .quote__words { font-size: 36px; line-height: 44px; }
  .home-services__title, .values-band__title { font-size: 40px; line-height: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* =========================================================
   SMALL LAPTOP / TABLET LANDSCAPE ≤960px
   ========================================================= */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
    display: none;
  }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 20px; }
  .main-nav a,
  .main-nav li:last-child a {
    height: 48px;
    width: 100%;
    padding: 0 16px;
    border-radius: 24px;
    font-size: 17px;
  }
  .main-nav .is-active a,
  .main-nav .current-menu-item a,
  .main-nav li:last-child.is-active a,
  .main-nav li:last-child.current-menu-item a { padding: 0 16px; }

  .split,
  .home-services .split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .home-about__img img,
  .home-services__img img { max-width: 670px; }
  .values-band__title br { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .footer-links { max-width: 420px; }
}

/* =========================================================
   TABLET ≤767px
   ========================================================= */
@media (max-width: 767px) {
  body { font-size: 17px; }

  .topbar { height: auto; padding: 10px 0; }
  .topbar__inner { flex-wrap: wrap; gap: 8px; }
  .topbar__contact { flex-wrap: wrap; row-gap: 6px; }
  .topbar__item { border-right: 0; padding-right: 0; margin-right: 20px; }
  .topbar__label { display: none; }

  .site-header { height: 80px; }
  .site-logo img { width: 160px; }

  .hero { min-height: 520px; }
  .hero .container { padding-top: 80px; padding-bottom: 80px; }
  .hero__title { font-size: 52px; }
  .hero__subtitle { font-size: 30px; }
  .hero__text { font-size: 18px; line-height: 30px; }

  .home-about, .home-services { padding: 72px 0; }
  .values-band { padding: 72px 0; }
  .split,
  .home-services .split { grid-template-columns: 1fr; gap: 40px; }
  .quote__mark { left: -6px; top: -24px; width: 80px; height: 67px; }
  .quote__text, .quote__words { padding-left: 24px; }
  .quote__text, .home-services__text { font-size: 24px; line-height: 34px; }
  .quote__words { font-size: 30px; line-height: 38px; }
  .home-services__title, .values-band__title { font-size: 32px; line-height: 42px; }
  .values-band__title br { display: none; }
  .eyebrow { font-size: 18px; }
  .btn { font-size: 18px; min-width: 180px; height: 48px; }

  .site-footer { padding: 56px 0 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .quick-links { padding-left: 0; }
  .footer-bar { height: auto; padding: 14px 0; }
  .footer-bar .container { gap: 12px; }
  .footer-bar p { padding-left: 0; }
  .footer-bar .social { margin-right: 0; }
}

/* =========================================================
   MOBILE ≤599px
   ========================================================= */
@media (max-width: 599px) {
  :root { --gutter: 20px; }
  .topbar__item--email .topbar__value { text-transform: none; }
  .hero__title { font-size: 40px; }
  .hero__subtitle { font-size: 26px; }
  .hero__text br { display: none; }
  .quote__text br, .home-services__text br { display: none; }
  .quote__text, .home-services__text { font-size: 21px; line-height: 31px; }
  .quote__words { font-size: 26px; line-height: 34px; }
  .home-services__title, .values-band__title { font-size: 28px; line-height: 38px; }
  .footer-logo img { width: 210px; }
  .footer-heading { font-size: 20px; }
  .footer-contact li { grid-template-columns: 22px 1fr; }
  .footer-contact__label { grid-column: 2; }
  .footer-contact__value { grid-column: 2; }
  .quick-links { grid-auto-flow: row; grid-template-rows: none; }
  .footer-bar .container { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
