/* Clean stylesheet for the rebuilt service pages (PLAN.md Phase 3).
   Replaces each page's Elementor post-XXXX.css. Typography and colours are
   the values the Elementor export computed to (Geologica headings, Poppins
   body, brand greens #5FA508 / #5FAF08); see the extraction notes in the PR. */

.service {
  --wrap: 1140px;
  --green: #5fa508;      /* kit primary: eyebrows, feature titles */
  --green-accent: #5faf08; /* .txt-green inline spans */
  --ink: #000;
  --muted: #55565a;
  color: var(--ink);
  font-family: "Poppins", sans-serif;
}

.service .accent { color: var(--green-accent); }

.service .eyebrow {
  font-family: "Geologica", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 1.25rem;
}

.service .section-title {
  font-family: "Geologica", sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 1.5rem;
}

.service p { line-height: 1.7; color: var(--ink); }

.service .btn {
  display: inline-block;
  background: var(--e-global-color-primary, #5FA508);
  color: #fff;
  font-family: "Geologica", sans-serif;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 34px;
  border-radius: 6px;
  transition: background .2s ease;
}
.service .btn:hover,
.service .btn:focus-visible {
  background: #1A4D08;
  color: var(--e-global-color-accent, #fff);
}

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 100% 50%;
}
.hero__inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 3rem 10px;
}
.service .hero__title {
  font-family: "Geologica", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.02;
  text-transform: uppercase;
  max-width: 700px;    /* keep the copy in the left column so it wraps off the right-anchored image */
  margin: 0 0 1.5rem;
}
.hero__body { max-width: 50ch; font-size: 17px; }
/* Security landers only -- the six services/ai-readiness have no hero.cta,
   so this never renders there. */
.hero__cta { display: inline-block; margin-top: 1.5rem; }
.hero__caption { margin: 0.85rem 0 0; font-size: 0.9rem; font-style: italic; color: var(--muted); }

/* Managed IT keeps the larger 60px hero requested for that page (live is 48px). */
.service--managed-it-support .hero__title { font-size: 60px; }

/* ---- Intro -------------------------------------------------------------- */
.intro { padding: 5rem 10px; }
.intro__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.intro .section-title { margin: 0; }
/* A second heading+content row below the main one -- .intro__inner's 2-col
   grid auto-flows bulletsHeading/.intro__bullets into row 2 the same way
   intro.heading/intro__body fill row 1, matching the source's two stacked
   heading|content pairs (the security landers' "why trust us" checklist). */
.intro__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
  align-content: start;
}
.intro__bullets li {
  padding-left: 1.6rem;
  position: relative;
}
.intro__bullets li::before {
  content: "✅";
  position: absolute;
  left: 0;
  font-size: 0.9em;
}

/* ---- Feature grid ------------------------------------------------------- */
.features { padding: 2rem 10px 5rem; }
.features__grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
/* The purple circle is drawn inside each SVG (70px), so the tile is just a
   white card -- no background behind the icon, content left-aligned. */
.feature {
  background: #fff;
  border-radius: 20px;
  padding: 30px 25px;
  box-shadow: 0 10px 20px 5px rgba(0, 0, 0, .1);
  text-align: left;
}
.feature__icon { display: block; margin-bottom: 1.25rem; line-height: 0; }
.feature__icon svg { width: 70px; height: 70px; }

/* Card head groups the icon + title; the description is a full-width block
   below it. Column count and icon placement are independent per page (the export
   mixes them: 3-col icon-above, 2-col icon-beside, 3-col icon-beside all occur).
   data-cols sets the grid; data-icon="left" lays the head out as an icon-beside-
   title row (default is icon stacked above title). */
.feature__head { margin-bottom: .75rem; }
.features[data-cols="2"] .features__grid { grid-template-columns: repeat(2, 1fr); }
.features[data-icon="left"] .feature__head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.features[data-icon="left"] .feature__head .feature__icon { margin-bottom: 0; flex: 0 0 auto; }
.service .feature__title {
  font-family: "Poppins", sans-serif;
  font-size: 17.6px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  margin: 0;
}
.feature__text { font-size: 15px; margin: 0; }

/* ---- Differentiators (accordion) ---------------------------------------- */
.diff { padding: 2rem 10px 5rem; }
.diff__inner { max-width: var(--wrap); margin: 0 auto; }
.diff__title { text-align: center; margin-bottom: 3rem; }
.diff__cols {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 3.5rem;
  align-items: start;
}
.diff__media img { width: 100%; height: auto; border-radius: 12px; }
.panel { border-bottom: 1px solid #e3e3e6; }
.service .panel__summary {
  font-family: "Geologica", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 2.5rem 1.1rem 0;
  position: relative;
}
.panel__summary::-webkit-details-marker { display: none; }
.panel__summary::after {
  content: "+";
  position: absolute;
  right: .25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--green);
}
.panel[open] .panel__summary::after { content: "\2212"; }
.panel[open] .panel__summary { color: var(--green); }
.panel__body { padding: 0 0 1.25rem; }
.panel__body p { margin: 0; }
.diff__cta { margin-top: 2rem; }

/* ---- Guarantee band ----------------------------------------------------- */
/* The image (right-anchored, its own left side faded light) is a boxed
   background; text sits on the light left half in dark ink. Not a dark overlay. */
.guarantee { padding: 3rem 10px 5rem; }
.guarantee__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  min-height: 453px;
  border-radius: 20px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 100% 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3.5rem;
}
.service .guarantee__title {
  font-family: "Geologica", sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 1.5rem;
}
.guarantee__title, .guarantee .eyebrow { max-width: 42ch; }
.guarantee__body { max-width: 40ch; margin-bottom: 2rem; }

/* Security landers only: the embedded HubSpot form is its own plain band
   below the guarantee's photo band, not bolted onto it -- a light card on
   a light-grey section, matching the source. */
.lead-form { background: #fbfbfd; padding: 3.5rem 10px; }
.lead-form__inner { max-width: 720px; margin: 0 auto; }
.lead-form__intro { text-align: center; padding-bottom: 1.75rem; border-bottom: 1px solid #d7d7db; margin-bottom: 2rem; }
.lead-form__heading { margin: 0 0 0.4rem; font-weight: 700; font-size: 1.15rem; }
.lead-form__subheading { margin: 0; font-size: 1.05rem; color: var(--muted); }
.lead-form__card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px 5px rgba(0, 0, 0, .06);
  padding: 2.5rem 2.5rem 3rem;
}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 900px) {
  .intro__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .features__grid { grid-template-columns: 1fr; }
  .diff__cols { grid-template-columns: 1fr; gap: 2rem; }
  .service .hero__title { font-size: 40px; }
  .service .guarantee__title { font-size: 36px; }
}

/* ---- Contact page ------------------------------------------------------- */
/* Reuses .service hero/typography; the form card overlaps the hero and the
   direct-contact details sit in a centred row, matching the export.
   Desktop background is the wide faded banner (hero_image_contact_us.jpg);
   the 700x700 crop is mobile-only, same split as the thank-you page. */
.contact-hero {
  min-height: 500px;
  background: var(--hero-img) center right / cover no-repeat;
}
.contact-hero__mobile { display: none; }
.contact-form { padding: 0 20px; position: relative; z-index: 2; margin-top: -120px; }
.contact-form__card {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 20px 5px rgba(0, 0, 0, .1);
  padding: 30px;
}
/* HubSpot's default label/input color is a navy-gray (#33475b). Live kit
   text is #000; inherit that for in-body forms (contact + the landers). */
.hubspot-form {
  --hsf-global__color: #000;
  --hsf-field-label__color: #000;
  --hsf-field-input__color: #000;
  --hsf-field-description__color: #000;
}
.hubspot-form label,
.hubspot-form legend,
.hubspot-form p,
.hubspot-form .hs-input {
  color: #000;
}
.hubspot-form .hs-form-required { color: #f2545b; }
.contact-direct { padding: 4rem 10px 5rem; }
.contact-direct__inner { max-width: var(--wrap); margin: 0 auto; text-align: center; }
.contact-direct .section-title { text-align: center; }
.contact-details {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}
.contact-detail:hover { color: var(--green); }
.contact-detail__icon { line-height: 0; }
.contact-detail__icon svg { width: 20px; height: 20px; fill: var(--green); }

@media (max-width: 767px) {
  .contact-hero { display: block; min-height: 0; background: none; padding-bottom: 95px; }
  .contact-hero__mobile { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
  .contact-hero .hero__inner { width: auto; padding: 2rem 20px 0; }
}

/* ---- Services hub ------------------------------------------------------- */
/* The hub hero heading is long; keep it at the kit's 48px (service-page heroes
   are 60px) and constrain it to the left column so it wraps instead of bleeding
   into the image. Placed after the .service .hero__title base rule so it wins. */
.serviceshub .hero__title { font-size: 48px; line-height: 1.05; max-width: 500px; }
.hub-cards__head { max-width: var(--wrap); margin: 0 auto 2.5rem; text-align: center; }
.hub-cards__head .eyebrow { margin-bottom: .75rem; }
.hub-cards__head .section-title { text-align: center; }
/* Cards: icon + title on a header row, description full-width below. */
.hub-card { text-decoration: none; color: var(--ink); transition: box-shadow .2s ease, transform .2s ease; }
.hub-card:hover { box-shadow: 0 14px 28px 6px rgba(0, 0, 0, .14); transform: translateY(-2px); }
.hub-card__head { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; }
.hub-card__head .feature__icon { margin: 0; flex: 0 0 auto; }
.hub-card__head .feature__title { margin: 0; }
.card-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--green);
  font-family: "Geologica", sans-serif;
  font-weight: 500;
  font-size: 14px;
}
.hub-card:hover .card-link { color: #1A4D08; }

/* Stats band */
.stats { padding: 4rem 10px 5rem; }
.stats__inner { max-width: var(--wrap); margin: 0 auto; text-align: center; }
.stats__title { text-align: center; margin-bottom: 3rem; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat__value {
  font-family: "Geologica", sans-serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  color: var(--green);
}
.stat__suffix { font-size: 32px; }
.stat__title {
  margin-top: .75rem;
  font-size: 15px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* "What makes us different" -- image left, text right */
.hub-different { padding: 2rem 10px 5rem; }
.hub-different__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 3.5rem;
  align-items: center;
}
.hub-different__media img { width: 100%; height: auto; border-radius: 12px; }
.hub-different__text .section-title { margin-bottom: 1.25rem; }

@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .hub-different__inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---- About page --------------------------------------------------------- */
/* Hero holds the mission copy over the team photo (which fades to white on its
   left); the copy is constrained left so it does not overlap the group. */
.about-hero { min-height: 560px; align-items: center; }
.about-hero__inner { padding: 4rem 10px; }
.about-hero__p { max-width: 44ch; font-size: 16px; line-height: 1.7; margin: 0 0 1rem; }
.about-hero .btn { margin-top: 1.5rem; }

/* Team grid: square headshot, name, role */
.team { padding: 3rem 10px 5rem; }
.team__grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.member { text-align: center; }
.member__photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1rem;
}
.member__name {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 .25rem;
}
.member__role { font-size: 14px; margin: 0; }

/* Photo gallery: horizontal scroll-snap carousel, no JS */
.gallery { padding: 2rem 0 5rem; }
.gallery__title { text-align: center; margin-bottom: 2.5rem; padding: 0 10px; }
.gallery__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 max(10px, calc((100% - var(--wrap)) / 2)) 1.25rem;
  -webkit-overflow-scrolling: touch;
}
.gallery__img {
  flex: 0 0 auto;
  width: 400px;
  height: 261px;
  object-fit: cover;
  border-radius: 12px;
  scroll-snap-align: start;
}

@media (max-width: 900px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .mission__inner p { font-size: 17px; }
}

/* ---- Homepage ----------------------------------------------------------- */
.hero__buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn--ghost { background: #9a9a9a; }
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: #1A4D08;
  color: var(--e-global-color-accent, #fff);
}

/* Image + text section (strategic partner / co-managed team), mirrorable */
.split { padding: 4rem 10px; }
.split__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 3.5rem;
  align-items: center;
}
.split--reverse .split__inner { grid-template-columns: 1fr 460px; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; height: auto; border-radius: 16px; display: block; }
.split__text .section-title { margin-bottom: 1.25rem; }
.split__text .btn { margin-top: 1rem; }
/* "12+ years" badge overlapping the image */
.badge {
  position: absolute;
  left: -20px;
  bottom: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px 4px rgba(0, 0, 0, .12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.badge__value { font-family: "Geologica", sans-serif; font-size: 34px; font-weight: 500; color: var(--green); line-height: 1; }
.badge__label { font-size: 12px; color: var(--muted); margin-top: .25rem; max-width: 8ch; }

/* Pull-quote testimonial band (security landers) */
.testimonial { padding: 3rem 10px; }
.testimonial__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.testimonial__title { margin: 0 0 1.5rem; }
.testimonial__quote {
  margin: 0;
  font-family: "Geologica", sans-serif;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
}
.testimonial__attribution { margin: 1.25rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* Featured partners logo strip */
.partners { padding: 3rem 10px 4rem; }
.partners__inner { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.partners__title { margin: 0; white-space: nowrap; }
/* Live auto-scrolls this strip (Elementor image-carousel widget: autoplay,
   infinite loop, pause on hover) rather than leaving it static -- a plain
   CSS marquee over a doubled logo list reproduces that without a JS
   dependency. Fades at both edges since content is always mid-scroll there. */
.partners__track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.partners__track-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: partners-scroll 26s linear infinite;
}
.partners__track:hover .partners__track-inner { animation-play-state: paused; }
.partners__logo { height: 160px; width: auto; flex: 0 0 auto; object-fit: contain; }

@keyframes partners-scroll {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .partners__track-inner { animation: none; }
}

@media (max-width: 900px) {
  .split__inner, .split--reverse .split__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse .split__media { order: 0; }
  .badge { left: 10px; bottom: -20px; }
  .partners__inner { flex-direction: column; align-items: flex-start; }
}

/* The homepage AI-readiness banner anchors the (full) image top-right, unlike
   the service heroes which anchor centre-right. */
.home .hero { background-position: top right; }

/* ---- Contact thank-you page -------------------------------------------- */
.thank-you-hero {
  min-height: 500px;
  display: flex;
  align-items: center;
  background: var(--hero-img) center right / cover no-repeat;
}
.thank-you-hero__inner {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}
.thank-you-hero__mobile { display: none; }
.service .thank-you-hero__title {
  max-width: 580px;
  margin: 0 0 2rem;
  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.05;
}
.thank-you-hero__body { max-width: 610px; margin: 0; font-size: 16px; }
.thank-you-resources { padding: 3.5rem 20px 5rem; background: #fbfbfd; }
.thank-you-resources__intro {
  max-width: 940px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: center;
}
.thank-you-resources__intro .section-title { margin: 0; }
.thank-you-resources__intro p { margin: 0; }
.thank-you-cards {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 20px 5px rgba(0, 0, 0, .1);
  overflow: hidden;
}
.thank-you-card {
  padding: 30px;
}
.thank-you-card + .thank-you-card { border-left: 1px solid #e3e3e6; }
.thank-you-card h3 { margin: 0 0 .75rem; font: 600 20px/1.2 "Geologica", sans-serif; }
.thank-you-card h3 a { color: inherit; text-decoration: none; }
.thank-you-card h3 a:hover { text-decoration: underline; }
.thank-you-card p { margin: 0 0 1.25rem; }
.twe-thank-you .elementor-3277 .elementor-element.elementor-element-60bbfbf { --margin-top: 0px; }

@media (max-width: 767px) {
  .thank-you-hero { display: block; min-height: 0; background: none; }
  .thank-you-hero__mobile { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
  .thank-you-hero__inner { width: auto; padding: 2rem 20px 4rem; }
  .service .thank-you-hero__title { font-size: 36px; }
  .thank-you-resources__intro, .thank-you-cards { grid-template-columns: 1fr; gap: 1.5rem; }
  .thank-you-resources__intro { margin-bottom: 2rem; }
  .thank-you-cards { gap: 0; }
  .thank-you-card + .thank-you-card { border-left: 0; border-top: 1px solid #e3e3e6; }
}
