/* =========================================================
   KIRA SERVICES PAGE
   Page-specific implementation of the approved wireframe.
   ========================================================= */

.services-page {
  color: #0b3e31;
  background: #ffffff;
}

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

.services-page .services-container {
  width: min(calc(100% - 48px), 1420px);
  margin-inline: auto;
}

/* Hero */

.services-page .services-hero {
  padding: 54px 0 50px;
  border-bottom: 1px solid #d8e9dd;
  background:
    radial-gradient(circle at 82% 34%, rgba(92, 183, 116, 0.13), transparent 17rem),
    linear-gradient(120deg, #f4fbf6 0%, #ffffff 59%, #edf8f0 100%);
}

.services-page .services-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  align-items: center;
  gap: 70px;
}

.services-page .services-eyebrow {
  margin: 0 0 13px;
  color: #0a7e42;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-page .services-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #073d30;
  font-family: "Manrope", "Inter", Arial, sans-serif;
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.04em;
}

.services-page .services-hero-copy {
  max-width: 680px;
  margin: 20px 0 0;
  color: #3d5a51;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.72;
}

.services-page .services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 27px;
}

.services-page .services-primary-button,
.services-page .services-secondary-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 19px;
  border: 2px solid #0b8445;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.services-page .services-primary-button {
  color: #ffffff;
  background: #087a40;
  box-shadow: 0 8px 18px rgba(8, 122, 64, 0.17);
}

.services-page .services-primary-button:hover {
  background: #056432;
}

.services-page .services-secondary-button {
  color: #08713b;
  background: #ffffff;
}

.services-page .services-secondary-button:hover {
  color: #ffffff;
  background: #087a40;
}

.services-page .services-hero-visual {
  min-height: 390px;
  display: grid;
  place-items: center;
}

.services-page .services-system-illustration {
  position: relative;
  width: min(100%, 520px);
  height: 360px;
}

.services-page .services-app-window {
  position: absolute;
  top: 20px;
  left: 35px;
  width: 390px;
  height: 285px;
  overflow: hidden;
  border: 2px solid #8fc9a2;
  border-radius: 11px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(5, 64, 45, 0.14);
}

.services-page .services-window-header {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-inline: 12px;
  background: #087a40;
}

.services-page .services-window-header span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.services-page .services-window-body {
  display: grid;
  grid-template-columns: 68px 1fr;
  height: calc(100% - 32px);
}

.services-page .services-window-sidebar {
  padding: 15px 11px;
  border-right: 1px solid #d4e6da;
  background: #f4faf6;
}

.services-page .services-window-sidebar i {
  display: block;
  height: 11px;
  margin-bottom: 14px;
  border: 1px solid #7cba91;
  border-radius: 3px;
  background: #ffffff;
}

.services-page .services-window-content {
  padding: 18px;
}

.services-page .services-line {
  height: 9px;
  margin-bottom: 11px;
  border-radius: 999px;
  background: #dcece1;
}

.services-page .services-line.short {
  width: 42%;
}

.services-page .services-dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  margin-top: 17px;
}

.services-page .services-dashboard-card {
  min-height: 82px;
  border: 1px solid #d7e8dc;
  border-radius: 8px;
  background: linear-gradient(145deg, #f9fcfa, #edf7f0);
}

.services-page .services-calendar-card {
  position: absolute;
  right: 22px;
  bottom: 10px;
  width: 150px;
  height: 145px;
  padding: 16px;
  border: 2px solid #6fb789;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 17px 30px rgba(5, 64, 45, 0.15);
}

.services-page .services-calendar-top {
  height: 28px;
  margin: -16px -16px 15px;
  border-radius: 12px 12px 0 0;
  background: #0a8848;
}

.services-page .services-calendar-rings {
  position: absolute;
  top: -14px;
  left: 28px;
  right: 28px;
  display: flex;
  justify-content: space-between;
}

.services-page .services-calendar-rings i {
  width: 11px;
  height: 32px;
  border-radius: 999px;
  background: #075f35;
}

.services-page .services-calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.services-page .services-calendar-grid i {
  height: 17px;
  border-radius: 3px;
  background: #dceee2;
}

.services-page .services-calendar-check {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: #0a8b49;
  font-size: 2.1rem;
  font-weight: 800;
}

/* Catalogue */

.services-page .services-catalogue {
  padding: 34px 0 30px;
  background: #ffffff;
}

.services-page .services-section-heading {
  max-width: 800px;
  margin: 0 auto 24px;
  text-align: center;
}

.services-page .services-section-heading h2 {
  margin: 0;
  color: #073d30;
  font-family: "Manrope", "Inter", Arial, sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 800;
}

.services-page .services-section-heading p {
  margin: 8px 0 0;
  color: #536b62;
  font-size: 0.88rem;
  line-height: 1.55;
}

.services-page .services-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.services-page .services-category-card {
  min-height: 265px;
  display: flex;
  flex-direction: column;
  padding: 21px 20px 19px;
  border: 2px solid #c0dbc8;
  border-radius: 12px;
  color: inherit;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(5, 64, 45, 0.06);
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.services-page .services-category-card:hover {
  transform: translateY(-3px);
  border-color: #4fa76d;
  box-shadow: 0 13px 25px rgba(5, 64, 45, 0.12);
}

.services-page .services-category-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border: 2px solid #8ec8a0;
  border-radius: 50%;
  color: #078342;
  background: #edf8f0;
  font-size: 1.7rem;
  font-weight: 700;
}

.services-page .services-category-card h3 {
  margin: 0 0 10px;
  color: #0a3d31;
  font-family: "Manrope", "Inter", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.services-page .services-category-card p {
  margin: 0 0 16px;
  color: #486158;
  font-size: 0.79rem;
  line-height: 1.6;
}

.services-page .services-card-link {
  margin-top: auto;
  color: #087b40;
  font-size: 0.78rem;
  font-weight: 800;
}

/* Why KIRA */

.services-page .services-why {
  padding: 0 0 30px;
}

.services-page .services-why-panel {
  padding: 21px 23px 22px;
  border: 2px solid #b2d3bc;
  border-radius: 13px;
  background: linear-gradient(135deg, #f6fbf7, #edf7f0);
  box-shadow: 0 8px 20px rgba(5, 64, 45, 0.07);
}

.services-page .services-why-panel h2 {
  margin: 0 0 19px;
  color: #073d30;
  font-family: "Manrope", "Inter", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  text-align: center;
}

.services-page .services-benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.services-page .services-benefit {
  min-width: 0;
  padding: 5px 20px 4px;
  text-align: center;
}

.services-page .services-benefit + .services-benefit {
  border-left: 1px solid #b9d6c2;
}

.services-page .services-benefit-icon {
  min-height: 45px;
  display: grid;
  place-items: center;
  color: #087c41;
  font-size: 2rem;
}

.services-page .services-benefit h3 {
  margin: 8px 0 7px;
  color: #0c4033;
  font-size: 0.87rem;
  font-weight: 800;
}

.services-page .services-benefit p {
  margin: 0;
  color: #496158;
  font-size: 0.74rem;
  line-height: 1.5;
}

/* CTA */

.services-page .services-cta {
  padding-bottom: 34px;
}

.services-page .services-cta-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 22px 30px;
  border: 2px solid #08743e;
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(115deg, #08743e, #07904a);
  box-shadow: 0 13px 28px rgba(5, 91, 51, 0.18);
}

.services-page .services-cta-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  font-size: 2rem;
}

.services-page .services-cta-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
}

.services-page .services-cta-copy p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.91);
  font-size: 0.8rem;
  line-height: 1.5;
}

.services-page .services-cta-actions {
  display: flex;
  gap: 12px;
}

.services-page .services-cta-actions .services-primary-button {
  border-color: #ffffff;
  color: #08743e;
  background: #ffffff;
  box-shadow: none;
}

.services-page .services-cta-actions .services-secondary-button {
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
  background: transparent;
}

/* Responsive */

@media (max-width: 1180px) {
  .services-page .services-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-page .services-benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .services-page .services-benefit + .services-benefit {
    border-left: 0;
  }
}

@media (max-width: 980px) {
  .services-page .services-container {
    width: min(calc(100% - 28px), 1420px);
  }

  .services-page .services-hero {
    padding: 31px 0 27px;
  }

  .services-page .services-hero-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .services-page .services-hero h1 {
    font-size: clamp(2rem, 8vw, 3.25rem);
  }

  .services-page .services-hero-visual {
    min-height: 330px;
  }

  .services-page .services-system-illustration {
    height: 325px;
  }

  .services-page .services-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-page .services-cta-panel {
    grid-template-columns: auto 1fr;
  }

  .services-page .services-cta-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .services-page .services-container {
    width: min(calc(100% - 20px), 1420px);
  }

  .services-page .services-hero {
    padding-top: 23px;
  }

  .services-page .services-hero-copy {
    font-size: 0.9rem;
    line-height: 1.62;
  }

  .services-page .services-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .services-page .services-primary-button,
  .services-page .services-secondary-button {
    width: 100%;
  }

  .services-page .services-hero-visual {
    min-height: 255px;
  }

  .services-page .services-system-illustration {
    width: 100%;
    height: 245px;
  }

  .services-page .services-app-window {
    top: 8px;
    left: 0;
    width: 84%;
    height: 215px;
  }

  .services-page .services-calendar-card {
    right: 0;
    bottom: 0;
    width: 118px;
    height: 116px;
  }

  .services-page .services-category-grid {
    grid-template-columns: 1fr;
  }

  .services-page .services-category-card {
    min-height: 0;
  }

  .services-page .services-benefit-grid {
    grid-template-columns: 1fr;
  }

  .services-page .services-benefit {
    padding: 15px 8px;
    border-bottom: 1px solid #c7ddcd;
  }

  .services-page .services-benefit:last-child {
    border-bottom: 0;
  }

  .services-page .services-cta-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .services-page .services-cta-icon {
    margin-inline: auto;
  }

  .services-page .services-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Services page: reduce hero title size */
.services-page .services-hero h1 {
  font-size: 1.35rem !important;
  line-height: 1.18 !important;
  letter-spacing: -0.02em !important;
}

@media (max-width: 980px) {
  .services-page .services-hero h1 {
    font-size: 1.2rem !important;
  }
}

@media (max-width: 640px) {
  .services-page .services-hero h1 {
    font-size: 1.05rem !important;
    line-height: 1.22 !important;
  }
}

/* Services page: increase hero title to balanced size */
.services-page .services-hero h1 {
  font-size: 1.8rem !important;
  line-height: 1.16 !important;
  letter-spacing: -0.025em !important;
}

@media (max-width: 980px) {
  .services-page .services-hero h1 {
    font-size: 1.55rem !important;
  }
}

@media (max-width: 640px) {
  .services-page .services-hero h1 {
    font-size: 1.3rem !important;
    line-height: 1.2 !important;
  }
}

/* =========================================================
   SERVICES PAGE — STRICT VERTICAL SPACING REDUCTION
   ========================================================= */

/* Hero begins immediately below the navbar */
.services-page .services-hero {
  margin-top: 0 !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.services-page .services-hero-grid {
  gap: 20px !important;
}

/* Tighten hero-content spacing */
.services-page .services-eyebrow {
  margin-bottom: 5px !important;
}

.services-page .services-hero-copy {
  margin-top: 8px !important;
}

.services-page .services-hero-actions {
  margin-top: 10px !important;
}

/* Remove excessive reserved space around the hero illustration */
.services-page .services-hero-visual {
  min-height: 310px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.services-page .services-system-illustration {
  height: 310px !important;
}

/* Tighten all vertical sections */
.services-page .services-catalogue {
  padding-top: 12px !important;
  padding-bottom: 10px !important;
}

.services-page .services-section-heading {
  margin-bottom: 10px !important;
}

.services-page .services-section-heading p {
  margin-top: 3px !important;
}

.services-page .services-why {
  padding-top: 0 !important;
  padding-bottom: 10px !important;
}

.services-page .services-why-panel {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

.services-page .services-why-panel h2 {
  margin-bottom: 10px !important;
}

.services-page .services-cta {
  padding-top: 0 !important;
  padding-bottom: 10px !important;
}

.services-page .services-cta-panel {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

/* Keep footer close to final page section */
.services-page .site-footer {
  margin-top: 0 !important;
}

/* Mobile and tablet */
@media (max-width: 980px) {
  .services-page .services-hero {
    padding-top: 6px !important;
    padding-bottom: 7px !important;
  }

  .services-page .services-hero-grid {
    gap: 8px !important;
  }

  .services-page .services-hero-actions {
    margin-top: 8px !important;
  }

  .services-page .services-hero-visual {
    min-height: 260px !important;
  }

  .services-page .services-system-illustration {
    height: 260px !important;
  }

  .services-page .services-catalogue {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .services-page .services-why,
  .services-page .services-cta {
    padding-bottom: 8px !important;
  }
}

@media (max-width: 640px) {
  .services-page .services-hero {
    padding-top: 4px !important;
    padding-bottom: 5px !important;
  }

  .services-page .services-hero-grid {
    gap: 4px !important;
  }

  .services-page .services-eyebrow {
    margin-bottom: 3px !important;
  }

  .services-page .services-hero-copy {
    margin-top: 5px !important;
  }

  .services-page .services-hero-actions {
    margin-top: 6px !important;
  }

  .services-page .services-hero-visual {
    min-height: 225px !important;
  }

  .services-page .services-system-illustration {
    height: 225px !important;
  }

  .services-page .services-catalogue {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  .services-page .services-section-heading {
    margin-bottom: 7px !important;
  }

  .services-page .services-why,
  .services-page .services-cta {
    padding-bottom: 6px !important;
  }
}

/* =========================================================
   SERVICES PAGE — VIVID IMAGE-BACKED SERVICE CARDS
   ========================================================= */

.services-page .services-category-card {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;

  min-height: 285px !important;

  border: 2px solid #6caf82 !important;
  background-color: #0b6943 !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;

  box-shadow:
    0 10px 24px rgba(6, 69, 45, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16) !important;
}

/* Dark readability layer */
.services-page .services-category-card::before {
  content: "" !important;
  position: absolute !important;
  z-index: -1 !important;
  inset: 0 !important;

  background:
    linear-gradient(
      110deg,
      rgba(3, 43, 30, 0.95) 0%,
      rgba(4, 58, 38, 0.89) 50%,
      rgba(5, 67, 43, 0.68) 100%
    ) !important;
}

/* Bottom visual accent */
.services-page .services-category-card::after {
  content: "" !important;
  position: absolute !important;
  z-index: -1 !important;
  right: -45px !important;
  bottom: -75px !important;

  width: 185px !important;
  height: 185px !important;

  border: 24px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 50% !important;
}

/* Individual local background images */
.services-page .services-category-card:nth-child(1) {
  background-image: url("/assets/images/services/01-discovery.svg") !important;
}

.services-page .services-category-card:nth-child(2) {
  background-image: url("/assets/images/services/02-credentials.svg") !important;
}

.services-page .services-category-card:nth-child(3) {
  background-image: url("/assets/images/services/03-travel.svg") !important;
}

.services-page .services-category-card:nth-child(4) {
  background-image: url("/assets/images/services/04-transport.svg") !important;
}

.services-page .services-category-card:nth-child(5) {
  background-image: url("/assets/images/services/05-planning.svg") !important;
}

.services-page .services-category-card:nth-child(6) {
  background-image: url("/assets/images/services/06-venues.svg") !important;
}

.services-page .services-category-card:nth-child(7) {
  background-image: url("/assets/images/services/07-security.svg") !important;
}

.services-page .services-category-card:nth-child(8) {
  background-image: url("/assets/images/services/08-media.svg") !important;
}

.services-page .services-category-card:nth-child(9) {
  background-image: url("/assets/images/services/09-hospitality.svg") !important;
}

.services-page .services-category-card:nth-child(10) {
  background-image: url("/assets/images/services/10-marketplace.svg") !important;
}

.services-page .services-category-card:nth-child(11) {
  background-image: url("/assets/images/services/11-ai-support.svg") !important;
}

.services-page .services-category-card:nth-child(12) {
  background-image: url("/assets/images/services/12-reporting.svg") !important;
}

/* Vivid icon treatment */
.services-page .services-category-icon {
  width: 58px !important;
  height: 58px !important;

  border: 2px solid rgba(255, 255, 255, 0.82) !important;
  color: #08753e !important;
  background: rgba(255, 255, 255, 0.96) !important;

  box-shadow:
    0 7px 16px rgba(0, 0, 0, 0.2),
    inset 0 0 0 4px rgba(62, 176, 105, 0.12) !important;
}

/* Stronger card typography */
.services-page .services-category-card h3 {
  color: #ffffff !important;
  font-size: 1.05rem !important;
  line-height: 1.35 !important;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.26) !important;
}

.services-page .services-category-card p {
  color: rgba(255, 255, 255, 0.91) !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  line-height: 1.58 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
}

.services-page .services-card-link {
  width: fit-content !important;
  padding: 7px 11px !important;

  border: 1px solid rgba(255, 255, 255, 0.68) !important;
  border-radius: 7px !important;

  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(5px) !important;
}

/* Strong but controlled interaction */
.services-page .services-category-card:hover {
  transform: translateY(-5px) scale(1.01) !important;
  border-color: #ffffff !important;

  box-shadow:
    0 17px 34px rgba(4, 62, 40, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25) !important;
}

.services-page .services-category-card:hover .services-card-link {
  color: #086c3c !important;
  background: #ffffff !important;
}

/* More vivid surrounding page content */
.services-page .services-section-heading h2,
.services-page .services-why-panel h2 {
  color: #063f2d !important;
}

.services-page .services-section-heading p {
  color: #315f4d !important;
  font-weight: 600 !important;
}

.services-page .services-why-panel {
  border-color: #72b889 !important;
  background:
    linear-gradient(135deg, #f2fbf5 0%, #e4f5e9 100%) !important;

  box-shadow: 0 10px 24px rgba(5, 77, 47, 0.12) !important;
}

.services-page .services-benefit-icon {
  color: #078345 !important;
}

.services-page .services-benefit h3 {
  color: #073f30 !important;
}

.services-page .services-benefit p {
  color: #365c4e !important;
}

@media (max-width: 640px) {
  .services-page .services-category-card {
    min-height: 260px !important;
  }
}
