/* ==========================================================================
   Kindora Services - homepage styles
   Hand-written from scratch. Measurements follow the live site at 1366px.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --dark: #232323;
  --purple: #6B3297;
  --blue: #2589B6;
  --teal: #55BDC3;
  --teal-dark: #1F9F9F;
  --grey: #F0F0F0;
  --text: #000000;
  --white: #FFFFFF;

  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Merriweather", Georgia, serif;

  --gradient-hero: linear-gradient(120deg, #FFFFFF 0%, #8B6DA2 46%);
  --gradient-teal-section: linear-gradient(120deg, #55BDC3 0%, #1F9F9F 44%);
  --gradient-teal-card: linear-gradient(141deg, #55BDC3 59%, #1F9F9F 100%);

  --radius-card: 50px;
  --radius-pill: 30px;
  --container: 1140px;
  --gutter: 15px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.2px;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }

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

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-fill { fill: currentColor; stroke: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--purple);
  color: var(--white);
  font-weight: 500;
}
.skip-link:focus { top: 16px; }

.text-blue { color: var(--blue); }
.text-teal { color: var(--teal); }
.bg-grey { background: var(--grey); }

.section { padding: 100px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.2px;
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.btn-purple { background: var(--purple); }
.btn-purple:hover { background: var(--teal-dark); }
.btn-blue { background: var(--blue); }
.btn-call { padding: 13px 39px; }

/* ---------- Pills (small labels) ---------- */
.pill {
  display: inline-block;
  padding: 5px 15px;
  border-radius: var(--radius-pill);
  background: rgba(85, 189, 195, 0.2);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.2px;
}
.pill-glass {
  padding: 7px 15px;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.15);
}
.pill-purple { color: var(--purple); }
.pill-blue { color: var(--blue); }
.pill-white { color: var(--white); }

.section-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--dark);
}

/* ---------- Diamond icon (rotated square with offset shadow) ---------- */
.diamond {
  display: grid;
  place-items: center;
  width: 73px;
  height: 73px;
  margin: 2px 0 3px;
  border: 2px solid var(--teal);
  border-radius: 15px;
  background: var(--white);
  color: var(--teal);
  font-size: 35px;
  transform: rotate(45deg);
  box-shadow: 8px -8px 0 0 rgba(85, 189, 195, 0.27);
}
.diamond .icon { transform: rotate(-45deg); }
.diamond--light {
  border-color: var(--white);
  background: transparent;
  color: var(--white);
  box-shadow: 8px -8px 0 0 rgba(109, 109, 109, 0.27);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  height: 115px;
}

.logo { flex: 0 0 171px; }
.logo img { width: 121px; height: 85px; object-fit: contain; }

.primary-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.menu { display: flex; align-items: center; }
.menu > li { position: relative; display: flex; align-items: center; }

.menu a {
  display: block;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.2px;
  color: var(--white);
  transition: color 0.2s ease;
}
.menu > li > a[aria-current="page"] { color: var(--teal-dark); }

.has-sub > a { padding-right: 4px; }

.sub-toggle {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
}
.sub-toggle .icon { stroke-width: 2.4; transition: transform 0.2s ease; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  padding: 10px 0;
  border-radius: 15px;
  background: var(--white);
  box-shadow: 0 15px 40px rgba(35, 35, 35, 0.15);
  opacity: 0;
  visibility: hidden;
  translate: 0 10px;
  transition: opacity 0.2s ease, translate 0.2s ease, visibility 0.2s;
}
.sub-menu a {
  padding: 11px 22px;
  color: var(--dark);
  font-size: 15px;
}
.sub-menu a:hover { color: var(--white); background: var(--blue); }

.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu,
.has-sub.is-open .sub-menu {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}

.header-call { margin-right: 14px; }
.nav-call { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0 11px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.nav-toggle:hover { background: var(--blue); }
.nav-toggle-bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: -11px;
  background: var(--gradient-hero);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/line-bg-1.png") center / cover no-repeat;
  opacity: 0.38;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 800px;
  padding-top: 72px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 570px;
}

.hero-title {
  margin-top: 30px;
  font-size: 40px;
  font-weight: 700;
  line-height: 53px;
  letter-spacing: -0.5px;
  color: var(--white);
}

.hero-text {
  margin-top: 30px;
  font-size: 16px;
  line-height: 24px;
  color: var(--white);
}

.hero-content .btn { margin-top: 35px; }

.hero-media {
  position: absolute;
  bottom: 0;
  left: calc(var(--gutter) + 596px);
  width: 616px;
}

/* ==========================================================================
   About
   ========================================================================== */
.about-inner {
  display: grid;
  grid-template-columns: 557px 513px;
  column-gap: 70px;
  align-items: start;
}

/* Positions are percentages of a 557 x 570 box so the collage scales down cleanly. */
.about-collage {
  position: relative;
  width: 100%;
  max-width: 557px;
  aspect-ratio: 557 / 570;
}
.about-collage > * { position: absolute; }

.about-main {
  top: 0;
  left: 39.86%;
  width: 59.96%;
  height: 79.65%;
  border-radius: var(--radius-card);
  object-fit: cover;
}

.about-circle {
  z-index: 3;
  top: 12.98%;
  left: 8.98%;
  width: 41.83%;
  aspect-ratio: 233 / 238;
  border: 8px solid var(--white);
  border-radius: 50%;
  background: url("../images/Untitled-design-11.png") center / cover no-repeat;
}

.about-second {
  z-index: 2;
  top: 49.3%;
  left: 0;
  width: 78.46%;
  height: 50.7%;
  border: 8px solid var(--white);
  border-radius: var(--radius-card);
  object-fit: cover;
}

.about-title {
  margin-top: 20px;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--dark);
}
.about-title + p { margin-top: 20px; }

.check-list {
  display: grid;
  gap: 19px;
  margin-top: 34px;
}
.check-item { display: flex; gap: 11px; }

.check-icon {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 16px;
}
.check-icon .icon { stroke-width: 3; }

.check-title {
  margin: 5px 0 18px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--dark);
}

.about-content > .btn { margin-top: 35px; }

/* ==========================================================================
   Services
   ========================================================================== */
.services { padding: 100px 0 130px; }

.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 50px;
  align-items: end;
}
.services-head .section-title { margin-top: 20px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 120px 15px;
  margin-top: 97px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  min-height: 417px;
  padding: 50px 40px;
  border-radius: var(--radius-card);
  background: var(--white);
  transition: translate 0.3s ease, box-shadow 0.3s ease;
}
.service-card .diamond { margin-bottom: 23px; }
.service-card:hover {
  translate: 0 -10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--dark);
}

/* Teal cards stand 30px taller above and 20px below their row. */
.service-card--teal {
  margin: -30px 0 -20px;
  background: var(--gradient-teal-card);
  color: var(--grey);
}
.service-card--teal .card-title { color: var(--white); }
.service-card--teal .diamond {
  border-color: var(--white);
  background: transparent;
  color: var(--white);
  box-shadow: 8px -8px 0 0 rgba(109, 109, 109, 0.27);
}

/* ==========================================================================
   Why choose us
   ========================================================================== */
.why {
  position: relative;
  overflow: hidden;
  padding: 100px 0 7px;
  background: var(--gradient-teal-section);
  color: var(--white);
}
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/line-bg.png") center / auto no-repeat;
  opacity: 0.25;
  pointer-events: none;
}
.why .container { position: relative; }

.why-head {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.why-head .section-title { margin-top: 24px; color: var(--white); }
.why-intro {
  margin-top: 20px;
  font-size: 16px;
  line-height: 24px;
}

.why-grid {
  display: grid;
  grid-template-columns: 251px 1fr 251px;
  margin-top: 35px;
}

.why-col {
  display: flex;
  flex-direction: column;
  gap: 59px;
  padding: 21px 0 40px;
}

.why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.why-title {
  margin: 25px 0 10px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.why-item p {
  font-weight: 500;
  line-height: 1.5;
}

.why-media {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.why-media img { width: 511px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { padding: 70px 0 112px; }

.testimonials-title {
  margin-bottom: 43px;
  text-align: center;
}

.quote-grid {
  display: grid;
  grid-template-columns: 520px 520px;
  justify-content: space-between;
  row-gap: 40px;
  width: 1190px;
  max-width: none;
}
.quote-grid > * { width: 520px; }
.quote-grid > :nth-child(3) { margin-left: 50px; }
.quote-grid > :nth-child(4) { margin-right: 50px; justify-self: end; }

.quote-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 39px;
  padding: 30px 20px 30px 45px;
  border-radius: var(--radius-card);
  background: var(--white);
}

.quote-card blockquote { flex: 1 1 345px; max-width: 345px; }
.quote-card figcaption { flex: 0 0 auto; }
.quote-card figcaption img {
  width: 65px;
  height: 65px;
  margin: 0 3px;
  border-radius: 50%;
  object-fit: cover;
}

.quote-card--avatar-left {
  gap: 20px;
  padding: 30px 60px 30px 30px;
}
.quote-card--avatar-left figcaption { order: -1; }
.quote-card--avatar-left figcaption img { margin: 0; }

.quote-mark {
  position: absolute;
  top: -15px;
  left: 45px;
  width: 40px;
  height: 40px;
  fill: rgba(85, 189, 195, 0.33);
}
.quote-card--avatar-left .quote-mark { left: auto; right: 60px; }

.quote-card--teal {
  background: var(--teal);
  color: var(--white);
}
.quote-card--teal .quote-mark { fill: rgba(255, 255, 255, 0.38); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/line-bg.png") center / cover no-repeat;
  opacity: 0.04;
  pointer-events: none;
}
.site-footer > * { position: relative; }

.footer-grid {
  display: grid;
  grid-template-columns: 350px 148px 1fr 1fr;
  column-gap: 30px;
  padding-top: 100px;
}

.footer-logo img { width: 123px; height: 86px; object-fit: contain; }

.footer-about p {
  margin-top: 10px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
}

.footer-title {
  margin-bottom: 20px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--blue);
}

.footer-links li + li { margin-top: 10px; }
.footer-links a {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--blue); }

.contact-list p {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 18px;
  line-height: 26px;
}
.contact-list p + p { margin-top: 21px; }
.contact-list .icon {
  width: 19px;
  height: 19px;
  margin: 3px 0 0 0;
  color: var(--blue);
  flex-basis: 24px;
}
.contact-list .icon-fill { fill: var(--blue); }

.copyright {
  padding: 77px var(--gutter) 29px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  color: var(--blue);
}
.copyright a { color: var(--purple); }

/* ==========================================================================
   Scroll reveal (only when JS is running; see js/early.js)
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .service-card:hover { translate: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Testimonials leave their staggered 1190px layout before it would overflow. */
@media (max-width: 1240px) {
  .quote-grid {
    width: auto;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 50px;
  }
  .quote-grid > * { width: auto; justify-self: stretch; }
  .quote-grid > :nth-child(3),
  .quote-grid > :nth-child(4) { margin: 0; }
}

@media (max-width: 1199px) {
  .about-inner { grid-template-columns: 1fr 1fr; column-gap: 50px; }
  .hero-media { left: auto; right: -40px; width: 52%; }
  .hero-content { width: 52%; }
  .why-grid { grid-template-columns: 230px 1fr 230px; }
  .why-media img { width: 100%; max-width: 511px; }
  .footer-grid { grid-template-columns: 1.3fr 0.7fr 1fr 1fr; }
}

/* Tablet */
@media (max-width: 1024px) {
  .header-inner { height: 96px; }
  .logo { flex: 0 0 auto; }
  .logo img { width: 100px; height: 70px; }

  .nav-toggle { display: flex; }
  .header-call { display: none; }

  .primary-nav {
    position: absolute;
    top: calc(100% - 6px);
    left: var(--gutter);
    right: var(--gutter);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 20px 50px rgba(35, 35, 35, 0.2);
  }
  .primary-nav.is-open { display: flex; }

  .menu { flex-direction: column; align-items: stretch; }
  .menu > li { flex-wrap: wrap; }
  .menu > li > a {
    flex: 1;
    padding: 14px 12px;
    color: var(--dark);
    font-size: 16px;
  }
  .menu > li + li { border-top: 1px solid var(--grey); }
  .has-sub > a { padding-right: 12px; }

  .sub-toggle {
    width: 44px;
    height: 44px;
    margin: 0;
    color: var(--dark);
    border-radius: 12px;
  }
  .sub-toggle:hover { background: var(--grey); }

  .sub-menu {
    position: static;
    flex-basis: 100%;
    display: none;
    min-width: 0;
    padding: 0 0 8px 12px;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    translate: none;
    transition: none;
  }
  .has-sub:hover .sub-menu,
  .has-sub:focus-within .sub-menu { display: none; }
  .has-sub.is-open .sub-menu { display: block; }
  .sub-menu a { padding: 10px 12px; border-radius: 10px; }

  .nav-call { display: inline-flex; align-self: flex-start; margin: 12px 0 4px 12px; }

  /* Hero stacks: text first, photo below and still flush with the bottom edge. */
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding-top: 150px;
  }
  .hero-content { width: 100%; max-width: 640px; }
  .hero-media {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    align-self: center;
    width: min(520px, 100%);
    margin-top: 50px;
  }

  .section { padding: 80px 0; }

  .about-inner { grid-template-columns: 1fr; row-gap: 50px; }
  .about-collage { margin: 0 auto; }

  .services { padding: 80px 0; }
  .services-head { grid-template-columns: 1fr; row-gap: 20px; }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 50px;
  }
  .service-card { min-height: 0; }
  .service-card--teal { margin: 0; }

  .why { padding-top: 80px; }
  .why-grid { grid-template-columns: 1fr 1fr; column-gap: 40px; margin-top: 30px; }
  .why-col { padding-bottom: 0; }
  .why-media { grid-column: 1 / -1; order: 3; margin-top: 40px; }
  .why-media img { width: min(440px, 100%); }

  .testimonials { padding: 70px 0 90px; }
  .quote-grid { grid-template-columns: 1fr; row-gap: 45px; max-width: 640px; margin: 0 auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 45px; padding-top: 80px; }
  .copyright { padding-top: 60px; }
}

/* Mobile */
@media (max-width: 767px) {
  .hero-title { font-size: 30px; line-height: 1.3; margin-top: 22px; }
  .hero-text { margin-top: 20px; }
  .hero-content .btn { margin-top: 28px; }
  .hero-inner { padding-top: 130px; }
  .hero-media { margin-top: 40px; }

  .section-title { font-size: 28px; }
  .about-title { font-size: 26px; }

  .section { padding: 64px 0; }
  .services { padding: 64px 0; }
  .service-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
  .service-card { padding: 45px 30px 40px; border-radius: 40px; }

  .why { padding-top: 64px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-col { gap: 36px; padding-top: 24px; }
  .why-col:last-child { padding-top: 36px; }
  .why-media { margin-top: 30px; }

  .testimonials { padding: 56px 0 72px; }
  .testimonials-title { margin-bottom: 40px; }
  .quote-card,
  .quote-card--avatar-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 34px 26px 28px;
    border-radius: 36px;
  }
  .quote-card figcaption { order: -1; }
  .quote-card figcaption img { margin: 0; }
  .quote-card blockquote { max-width: none; flex-basis: auto; }
  .quote-mark,
  .quote-card--avatar-left .quote-mark { left: auto; right: 30px; }

  .footer-grid { grid-template-columns: 1fr; row-gap: 36px; padding-top: 64px; }
  .footer-about p { font-size: 17px; }
  .copyright { padding-top: 48px; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* ---------- Page banner (photo washed with the brand gradient) ---------- */
.page-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 450px;
  margin-top: -11px;
  padding: 70px 0 0;
  overflow: hidden;
  background: url("../images/page-banner.jpg") center / cover no-repeat;
  color: var(--white);
  text-align: center;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #FFFFFF 12%, #6B3297 44%);
  opacity: 0.72;
  pointer-events: none;
}
.page-banner .container { position: relative; }

.page-banner h1 {
  font-size: 70px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
}
.page-banner--sm h1 { font-size: 49px; }
.page-banner--service { padding-top: 105px; }

.page-banner hr {
  margin: 15px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.page-banner-sub {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
}

/* ---------- About page ---------- */
.about-intro { padding: 120px 0 51px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  align-items: center;
}

.page-title-lg {
  margin-top: 20px;
  font-size: 37px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--dark);
}

.prose > p + p { margin-top: 24px; }
.prose .page-title-lg + p { margin-top: 20px; }

.rounded-photo {
  width: 100%;
  border-radius: var(--radius-card);
  object-fit: cover;
}

.values {
  padding: 100px 0 111px;
  background: linear-gradient(180deg, var(--grey) 0%, var(--grey) 55%, var(--white) 92%);
}

.values-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 50px;
  align-items: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 15px;
  margin-top: 90px;
}
.values-grid .service-card { min-height: 436px; }
.values-grid .card-title { font-size: 22px; }
.values-grid .service-card:hover { box-shadow: none; }

/* ---------- Services page ---------- */
.services-page { padding: 116px 0 80px; }
.services-page .service-grid { margin-top: 0; row-gap: 90px; }

/* ---------- FAQ ---------- */
.faq { padding: 120px 0 52px; }
.faq .section-title { margin-top: 25px; }
.faq-intro {
  margin-top: 15px;
  font-size: 16px;
  line-height: 24px;
}

.faq-list {
  display: grid;
  gap: 15px;
  margin-top: 45px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  background: var(--grey);
  color: var(--dark);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: #e6e6e6; }
.faq-item summary .icon {
  font-size: 14px;
  stroke-width: 2.4;
  transition: transform 0.2s ease;
}
.faq-item[open] summary {
  background: var(--purple);
  color: var(--white);
}
.faq-item[open] summary .icon { transform: rotate(180deg); }

.faq-answer { padding: 25px 25px 10px; }

/* ---------- Contact ---------- */
.contact-info { padding: 59px 0 0; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 49px;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.info-title {
  margin: 34px 0 21px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--dark);
}
.info-item p,
.info-item a {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}
.info-item a:hover { color: var(--blue); }

.contact-main { padding: 51px 0 120px; }

.contact-split {
  display: grid;
  grid-template-columns: 488px 602px;
  justify-content: space-between;
  align-items: center;
}
.contact-split .section-title { margin-top: 20px; }
.contact-split .section-title + p {
  margin-top: 15px;
  font-size: 16px;
  line-height: 24px;
}

.contact-panel {
  padding: 70px 60px;
  border-radius: var(--radius-pill);
  background: #EEE6F3;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 468px;
  border: 0;
  filter: brightness(0.8);
}

/* ---------- Forms (shared) ---------- */
.form {
  display: grid;
  gap: 20px;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 59px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: -0.2px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea {
  min-height: 194px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: #767676; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(107, 50, 151, 0.25);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #c0392b; }

.form .btn { justify-self: start; text-transform: uppercase; }

.form-status {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.form-status:empty { display: none; }
.form-status.is-success { color: #1b6e3a; }
.form-status.is-error { color: #b3261e; }

/* Spam trap: hidden from people, but bots that fill every field will fill it in. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Service detail pages ---------- */
.service-detail { padding: 120px 0 121px; }

.detail-layout {
  display: grid;
  grid-template-columns: 681px 399px;
  justify-content: space-between;
  align-items: start;
}

.detail-main .rounded-photo { aspect-ratio: 681 / 454; }
.detail-main p {
  margin-top: 21px;
  line-height: 26px;
}
.detail-main p + p { margin-top: 19px; }

.arrow-list {
  display: grid;
  gap: 7px;
  margin: 39px 0 20px;
  padding-left: 25px;
}
.arrow-list li {
  display: flex;
  gap: 4px;
  line-height: 24px;
}
.arrow-list .icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-basis: 20px;
  color: var(--purple);
}
.detail-main .arrow-list + p { margin-top: 0; }

.sidebar-box {
  padding: 30px;
  border-radius: var(--radius-pill);
}
.sidebar-box + .sidebar-box { margin-top: 50px; }

.sidebar-title {
  padding: 12px;
  border-radius: 50px;
  background: var(--purple);
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.quote-box { background: var(--teal-dark); }
.quote-box .form { margin-top: 20px; }
.quote-box .field input { min-height: 47px; }
.quote-box .field textarea { min-height: 173px; }
.quote-box .btn { justify-self: stretch; padding: 16px 20px; }
.quote-box .btn:hover { background: var(--purple); }
.contact-panel .btn:hover { background: var(--blue); }
.quote-box .form-status { color: var(--white); }

.other-services {
  background: var(--white);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.other-services ul { margin-top: 12px; }
.other-services li + li { border-top: 1px solid #ececec; }
.other-services a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  color: var(--dark);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
  transition: color 0.2s ease;
}
.other-services a .icon {
  width: 15px;
  height: 15px;
  color: var(--purple);
}
.other-services a:hover { color: var(--blue); }
.other-services a[aria-current="page"] { color: var(--teal-dark); }

/* ---------- 404 page ---------- */
.not-found { padding: 120px 0; }
.not-found-inner {
  max-width: 760px;
  text-align: center;
}
.not-found .section-title { margin-top: 20px; }
.not-found-text {
  margin-top: 20px;
  font-size: 16px;
  line-height: 24px;
}
.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 35px;
}
.not-found-subtitle {
  margin-top: 70px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--dark);
}
.not-found-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.not-found-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--grey);
  color: var(--dark);
  font-weight: 500;
  transition: color 0.2s ease;
}
.not-found-links a .icon {
  width: 15px;
  height: 15px;
  color: var(--purple);
}
.not-found-links a:hover { color: var(--blue); }

/* ---------- Inner pages: responsive ---------- */
@media (max-width: 1199px) {
  .split { column-gap: 50px; }
  .contact-split { grid-template-columns: 1fr 1fr; column-gap: 50px; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 360px; column-gap: 40px; }
}

@media (max-width: 1024px) {
  .page-banner { min-height: 380px; padding-top: 96px; }
  .page-banner h1 { font-size: 52px; }
  .page-banner--sm h1 { font-size: 46px; }
  .page-banner-sub { font-size: 22px; }

  .about-intro { padding: 80px 0 40px; }
  .split { grid-template-columns: 1fr; row-gap: 40px; }
  .values { padding: 80px 0; }
  .values-head { grid-template-columns: 1fr; row-gap: 16px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 50px; }
  .values-grid .service-card { min-height: 0; }

  .services-page { padding: 80px 0; }
  .services-page .service-grid { row-gap: 24px; }

  .faq { padding: 80px 0; }

  .contact-info { padding-top: 60px; }
  .contact-main { padding: 60px 0 80px; }
  .contact-split { grid-template-columns: 1fr; row-gap: 40px; }

  .service-detail { padding: 80px 0; }
  .detail-layout { grid-template-columns: 1fr; row-gap: 50px; }
  .detail-side { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
  .sidebar-box + .sidebar-box { margin-top: 0; }
}

@media (max-width: 767px) {
  .page-banner { min-height: 300px; padding-top: 96px; }
  .page-banner h1,
  .page-banner--sm h1 { font-size: 36px; line-height: 1.1; }
  .page-banner-sub { font-size: 18px; }

  .page-title-lg { font-size: 28px; }
  .about-intro { padding: 64px 0 32px; }
  .values { padding: 64px 0; }
  .values-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }

  .services-page { padding: 64px 0; }

  .faq { padding: 64px 0; }
  .faq-list { margin-top: 32px; }
  .faq-item summary { padding: 14px 22px; border-radius: 24px; }
  .faq-answer { padding: 18px 12px 6px; }

  .info-grid { grid-template-columns: 1fr; row-gap: 48px; }
  .info-title { margin-top: 28px; }
  .contact-main { padding: 56px 0 64px; }
  .contact-panel { padding: 36px 22px; }
  .contact-map iframe { height: 360px; }

  .not-found { padding: 64px 0; }
  .not-found-subtitle { margin-top: 50px; }

  .service-detail { padding: 64px 0; }
  .detail-main .rounded-photo { border-radius: 36px; }
  .arrow-list { padding-left: 0; margin-top: 30px; }
  .detail-side { grid-template-columns: 1fr; }
  .sidebar-box { padding: 24px 20px; }
  .other-services a { padding: 14px 8px; font-size: 17px; }
}
