/*
Theme Name: Plot Consultores
Theme URI: https://plotconsultores.com.co/
Author: GitHub Copilot
Description: Tema personalizado para Plot Consultores inspirado en la referencia compartida.
Version: 1.0.0
Text Domain: plot-consultores
*/

:root {
  --plot-navy: #081f47;
  --plot-navy-2: #0e2d5f;
  --plot-sky: #17b5e6;
  --plot-sky-soft: #dff7ff;
  --plot-gold: #f4a949;
  --plot-text: #16202f;
  --plot-muted: #5d6675;
  --plot-border: #e5e9f0;
  --plot-surface: #ffffff;
  --plot-surface-alt: #f7f9fc;
  --plot-shadow: 0 18px 40px rgba(8, 31, 71, 0.12);
  --plot-radius: 20px;
  --plot-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--plot-text);
  background: #f4f7fb;
  font-family: "Outfit", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

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

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.container {
  width: min(calc(100% - 32px), var(--plot-max));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plot-sky);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 2.6vw, 3.2rem);
  line-height: 1.05;
  margin: 0 0 12px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--plot-muted);
  max-width: 60ch;
  margin: 0;
}

.btn,
.wp-block-button__link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 22px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover,
.wp-block-button__link:hover,
.button:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--plot-navy);
  color: #fff;
  box-shadow: var(--plot-shadow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-light {
  background: #fff;
  color: var(--plot-navy);
  border-color: var(--plot-border);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(8, 31, 71, 0.08);
}

.site-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--plot-navy);
  margin-right: auto;
}

.brand img {
  display: block;
  width: 150px;
  height: auto;
  transition: width 0.3s ease;
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-weight: 600;
  color: var(--plot-text);
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
  color: var(--plot-sky);
}

.site-header__cta {
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--plot-navy);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 18% 40%,
      rgba(23, 181, 230, 0.22),
      transparent 24%
    ),
    radial-gradient(
      circle at 72% 18%,
      rgba(244, 169, 73, 0.18),
      transparent 20%
    ),
    linear-gradient(
      90deg,
      rgba(8, 31, 71, 0.98) 0%,
      rgba(8, 31, 71, 0.88) 42%,
      rgba(8, 31, 71, 0.2) 100%
    );
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 32px;
  min-height: 660px;
}

.hero__content {
  padding: 72px 0;
  max-width: 600px;
}

.hero__title {
  font-size: clamp(2.7rem, 4.8vw, 5.2rem);
  line-height: 0.96;
  margin: 0 0 18px;
  letter-spacing: -0.04em;
}

.hero__title .accent {
  color: var(--plot-sky);
}

.hero__text {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  max-width: 55ch;
  margin: 0 0 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__visual {
  position: relative;
  align-self: stretch;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 660px;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.08)
  );
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__image {
  position: relative;
  width: min(100%, 620px);
  height: 100%;
  min-height: 660px;
  object-fit: cover;
  filter: saturate(1.02);
}

.hero__stats {
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

.home-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
  gap: 0;
  min-height: 620px;
}

.home-hero__content {
  position: relative;
  padding: 76px 0 58px;
  z-index: 1;
}

.home-hero__content::after {
  content: "";
  position: absolute;
  right: -90px;
  top: 14px;
  width: 220px;
  height: calc(100% - 28px);
  border-radius: 50% 0 0 50%;
  border: 2px solid rgba(8, 31, 71, 0.14);
  border-right: 0;
  pointer-events: none;
}

.home-hero__eyebrow {
  color: #0d4f8b;
}

.home-hero__title {
  font-size: clamp(3rem, 5.2vw, 5.4rem);
  line-height: 0.95;
  margin: 0 0 18px;
  letter-spacing: -0.05em;
  color: #0d1220;
}

.home-hero__title .accent {
  color: var(--plot-sky);
}

.home-hero__text {
  color: #263042;
  font-size: 1.05rem;
  max-width: 42ch;
  margin: 0 0 26px;
}

.home-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.home-hero__social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #4d596d;
  font-size: 0.94rem;
}

.home-hero__avatars {
  display: flex;
}

.home-hero__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -8px;
  box-shadow: 0 8px 18px rgba(8, 31, 71, 0.12);
}

.home-hero__avatar--text,
.home-testimonial-card__avatar--text {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--plot-navy), var(--plot-sky));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-hero__visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.home-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 40% 8%,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.3) 24%,
      transparent 42%
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(8, 31, 71, 0.12));
}

.home-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0 0 0 260px;
  border-left: 3px solid rgba(17, 181, 230, 0.6);
  border-top: 3px solid rgba(244, 169, 73, 0.7);
  border-bottom: 3px solid rgba(8, 31, 71, 0.16);
  opacity: 0.7;
  transform: scale(1.02);
  pointer-events: none;
}

.home-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-section {
  padding: 84px 0;
}

.home-section--light {
  background: #fff;
}

.home-section--soft {
  background: #f5f6fa;
}

.home-services__head,
.home-focus__head,
.home-testimonials__head {
  display: grid;
  grid-template-columns: 0.95fr 0.9fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

.services-slider-container {
  position: relative;
  padding: 0 40px !important;
}

.home-services__grid {
  display: flex !important;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 24px;
  padding: 24px 20px 32px;
  margin: -24px 0 -32px;
  align-items: stretch;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.home-services__grid::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(8, 31, 71, 0.1);
  box-shadow: 0 4px 12px rgba(8, 31, 71, 0.08);
  color: var(--plot-navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
  z-index: 10;
  padding: 0;
}

.slider-arrow:hover {
  background: var(--plot-navy);
  color: #fff;
  border-color: var(--plot-navy);
  box-shadow: 0 6px 18px rgba(8, 31, 71, 0.15);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow--prev {
  left: 8px;
}

.slider-arrow--next {
  right: 8px;
}

.slider-arrow.disabled {
  opacity: 0.25;
  pointer-events: none;
}

.services-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(8, 31, 71, 0.15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.3s ease,
    transform 0.3s ease,
    width 0.3s ease;
}

.slider-dot:hover {
  background: rgba(8, 31, 71, 0.4);
}

.slider-dot.active {
  background: var(--plot-sky);
  transform: scale(1.2);
  width: 16px;
  border-radius: 5px;
}

.home-service-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(8, 31, 71, 0.12);
  padding: 28px 24px 24px;
  min-height: 270px;
  box-shadow: 0 14px 34px rgba(8, 31, 71, 0.08);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(8, 31, 71, 0.12);
  border-color: var(--plot-sky);
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.home-services__grid .home-service-card:nth-child(1) {
  animation-delay: 0.05s;
}
.home-services__grid .home-service-card:nth-child(2) {
  animation-delay: 0.12s;
}
.home-services__grid .home-service-card:nth-child(3) {
  animation-delay: 0.19s;
}
.home-services__grid .home-service-card:nth-child(4) {
  animation-delay: 0.26s;
}
.home-services__grid .home-service-card:nth-child(5) {
  animation-delay: 0.33s;
}
.home-services__grid .home-service-card:nth-child(6) {
  animation-delay: 0.4s;
}
.home-services__grid .home-service-card:nth-child(7) {
  animation-delay: 0.47s;
}

.home-service-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--plot-sky);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.home-service-card__title {
  font-size: 1.2rem;
  line-height: 1.1;
  margin: 0 0 12px;
  color: #111827;
}

.home-service-card__text {
  color: #616a79;
  font-size: 0.95rem;
  margin: 0 0 20px;
}

.home-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--plot-sky);
  font-weight: 700;
}

.home-focus {
  display: flex;
  justify-content: center;
}

.home-focus__grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto !important;
}

.home-focus-card {
  background: var(--plot-navy);
  color: #fff;
  border-radius: 18px;
  padding: 28px;
  min-height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 38px rgba(8, 31, 71, 0.16);
  transition:
    transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    border-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  animation: fadeInUp 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

.home-focus-card:nth-child(5) {
  grid-column-start: 2;
}

.home-focus-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 181, 230, 0.35);
  box-shadow: 0 26px 48px rgba(8, 31, 71, 0.32);
}

.home-focus-card:nth-child(1) {
  animation-delay: 0.05s;
}
.home-focus-card:nth-child(2) {
  animation-delay: 0.1s;
}
.home-focus-card:nth-child(3) {
  animation-delay: 0.15s;
}
.home-focus-card:nth-child(4) {
  animation-delay: 0.2s;
}
.home-focus-card:nth-child(5) {
  animation-delay: 0.25s;
}
.home-focus-card:nth-child(6) {
  animation-delay: 0.3s;
}

.home-focus-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.home-focus-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.3rem;
  color: #fff;
  flex: none;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    background-color 0.3s ease,
    color 0.3s ease;
}

.home-focus-card:hover .home-focus-card__icon {
  transform: scale(1.1) rotate(-8deg);
  background-color: var(--plot-sky);
  color: var(--plot-navy);
}

.home-focus-card__title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.1;
}

.home-focus-card__text {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-size: 0.95rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-testimonials__grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto !important;
}

.home-testimonial-card {
  background: #f8f7fb;
  border-radius: 18px;
  padding: 28px;
  min-height: 260px;
  border: 1px solid rgba(8, 31, 71, 0.08);
  box-shadow: 0 14px 30px rgba(8, 31, 71, 0.05);
}

.home-testimonial-card__quote {
  color: var(--plot-sky);
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 10px;
}

.home-testimonial-card__text {
  color: #4f596a;
  margin: 0 0 18px;
  font-size: 0.96rem;
}

.home-testimonial-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.home-testimonial-card__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.home-testimonial-card__avatar--text {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--plot-navy), var(--plot-sky));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.home-testimonial-card__name {
  display: block;
  font-weight: 700;
  color: #111827;
}

.home-testimonial-card__role {
  display: block;
  color: #728096;
  font-size: 0.88rem;
}

.home-cta {
  margin: 0 0 28px;
}

.home-cta__inner {
  min-height: 230px;
  grid-template-columns: 0.92fr 1.08fr;
}

.home-cta__image {
  min-height: 230px;
}

.home-cta__title {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.02;
  margin: 0 0 10px;
}

.home-cta__text {
  color: rgba(255, 255, 255, 0.84);
  margin: 0 0 18px;
  max-width: 34ch;
}

.stats {
  background: var(--plot-navy);
  color: #fff;
  border-radius: 22px;
  box-shadow: var(--plot-shadow);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.stat {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat:last-child {
  border-right: 0;
}

.stat__value {
  display: block;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  color: #fff;
}

.stat__label {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.split__summary {
  padding-right: 18px;
}

.cards-grid {
  display: grid;
  gap: 18px;
  padding: 8px 4px;
  margin: -8px -4px;
}

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

.cards-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.service-card,
.method-card,
.team-card,
.testimonial-card,
.page-card {
  background: var(--plot-surface);
  border: 1px solid rgba(8, 31, 71, 0.08);
  border-radius: var(--plot-radius);
  box-shadow: 0 12px 32px rgba(8, 31, 71, 0.06);
}

.info-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.info-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--plot-navy);
  color: #fff;
  flex: none;
  font-size: 1.35rem;
}

.info-card__icon i,
.service-card__icon i,
.method-card__badge i,
.social-link i {
  line-height: 1;
}

.info-card__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.banner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(
    90deg,
    rgba(8, 31, 71, 0.98),
    rgba(8, 31, 71, 0.7)
  );
  color: #fff;
  box-shadow: var(--plot-shadow);
}

.banner__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 250px;
}

.banner__content {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.banner__image {
  min-height: 250px;
  background-size: cover;
  background-position: center;
}

.banner__title {
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  line-height: 1.02;
  margin: 0 0 12px;
}

.banner__text {
  color: rgba(255, 255, 255, 0.84);
  margin: 0 0 18px;
  max-width: 50ch;
}

.service-card,
.method-card,
.page-card {
  padding: 26px;
}

.service-card__icon,
.method-card__badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--plot-sky-soft);
  color: var(--plot-sky);
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.service-card__icon {
  font-size: 1.2rem;
}

.method-card__badge {
  font-weight: 800;
}

.service-card__title,
.method-card__title,
.team-card__title,
.testimonial-card__name {
  margin: 0 0 10px;
  line-height: 1.1;
}

.service-card__text,
.method-card__text,
.team-card__text,
.testimonial-card__text,
.page-card__text {
  color: var(--plot-muted);
  margin: 0;
}

.service-card__link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--plot-sky);
  font-weight: 700;
}

.service-card--dark,
.method-card--dark,
.testimonial-card--dark {
  background: var(--plot-navy);
  color: #fff;
  border-color: transparent;
}

.service-card--dark .service-card__text,
.method-card--dark .method-card__text,
.testimonial-card--dark .testimonial-card__text {
  color: rgba(255, 255, 255, 0.82);
}

.service-card--dark .service-card__icon,
.method-card--dark .method-card__badge,
.testimonial-card--dark .testimonial-card__badge {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.team-card {
  overflow: hidden;
}

.team-card__media {
  aspect-ratio: 4 / 5;
  background: #dfe8f3;
}

.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card__body {
  padding: 20px;
}

.team-card__role {
  color: var(--plot-sky);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.testimonial-card {
  padding: 28px;
}

.testimonial-card__quote {
  color: var(--plot-sky);
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 10px;
}

.testimonial-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.cta {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(
    90deg,
    rgba(8, 31, 71, 0.96),
    rgba(8, 31, 71, 0.78)
  );
  color: #fff;
  box-shadow: var(--plot-shadow);
}

.cta__inner {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  min-height: 260px;
}

.cta__content {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta__title {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 2.8vw, 3rem);
  line-height: 1.02;
}

.cta__text {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.84);
}

.cta__image {
  min-height: 260px;
  background-size: cover;
  background-position: center;
}

.site-footer {
  background: var(--plot-navy);
  color: #fff;
}

.site-footer__main {
  padding: 54px 0 22px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 36px;
}

.site-footer__title {
  margin: 0 0 14px;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__brand img {
  width: 160px;
  margin-bottom: 14px;
}

.site-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
}

.social-link i {
  font-size: 0.95rem;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  font-size: 0.92rem;
}

.site-footer__bottom-inner {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.page-hero {
  position: relative;
  background: var(--plot-navy);
  color: #fff;
  overflow: hidden;
}

.page-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 420px;
}

.page-hero__content {
  padding: 68px 0;
  max-width: 560px;
}

.page-hero__title {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  line-height: 0.98;
}

.page-hero__title .accent {
  color: var(--plot-sky);
}

.page-hero__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 56ch;
}

.page-hero__visual {
  height: 100%;
  min-height: 420px;
  background-size: cover;
  background-position: center;
}

.page-content {
  background: #fff;
}

.entry-content {
  background: #fff;
  border: 1px solid rgba(8, 31, 71, 0.08);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(8, 31, 71, 0.05);
}

.entry-content h2,
.entry-content h3 {
  line-height: 1.15;
}

.entry-content a {
  color: var(--plot-sky);
  text-decoration: underline;
}

.entry-content p:last-child {
  margin-bottom: 0;
}

.services-overview {
  display: grid;
  gap: 18px;
}

.services-overview .service-card__text {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.section--tight {
  padding-top: 34px;
  padding-bottom: 34px;
}

.inner-hero {
  position: relative;
  overflow: hidden;
  background: #f5f6f8;
}

.inner-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 220px;
  height: calc(100% - 20px);
  border-left: 3px solid rgba(21, 118, 241, 0.88);
  border-top: 3px solid rgba(255, 176, 58, 0.88);
  border-bottom: 3px solid rgba(166, 49, 224, 0.82);
  border-radius: 50% 0 0 50%;
  transform: translateX(-110px);
  opacity: 0.8;
  pointer-events: none;
}

.inner-hero__grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: stretch;
  min-height: 510px;
}

.inner-hero__content {
  padding: 74px 30px 58px 0;
  position: relative;
  z-index: 2;
}

.inner-hero__eyebrow {
  color: #1480bf;
  margin-bottom: 12px;
}

.inner-hero__title {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4.6vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #121a27;
}

.inner-hero__title .accent {
  color: var(--plot-sky);
}

.inner-hero__text {
  margin: 0;
  color: #2f3849;
  max-width: 48ch;
  font-size: 1.03rem;
  line-height: 1.45;
}

.inner-hero__media {
  position: relative;
  min-height: 510px;
  overflow: hidden;
}

.inner-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(245, 246, 248, 0.94) 0%,
    rgba(245, 246, 248, 0.62) 8%,
    rgba(245, 246, 248, 0.12) 28%,
    rgba(245, 246, 248, 0) 52%
  );
  z-index: 1;
}

.inner-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.methodology-showcase,
.services-showcase {
  background: #f5f6f8;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.method-feature-card {
  background: linear-gradient(180deg, #0b2a5a, #08214a);
  color: #fff;
  border-radius: 14px;
  padding: 28px 24px 26px;
  border: 1px solid rgba(41, 89, 160, 0.45);
  box-shadow: 0 14px 32px rgba(8, 31, 71, 0.22);
  min-height: 468px;
}

.method-feature-card__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.method-feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(9, 18, 41, 0.9);
  color: var(--plot-sky);
  font-size: 1.18rem;
}

.method-feature-card__meta {
  min-width: 0;
}

.method-feature-card__number {
  display: inline-block;
  color: var(--plot-sky);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.method-feature-card__title {
  margin: 0;
  text-transform: uppercase;
  font-size: 1.07rem;
  line-height: 1.16;
}

.method-feature-card__text {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  line-height: 1.45;
}

.method-feature-card__list {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 2px solid rgba(23, 181, 230, 0.9);
  display: grid;
  gap: 8px;
}

.method-feature-card__list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 9px;
  align-items: start;
  color: rgba(237, 245, 255, 0.92);
  font-size: 0.9rem;
  line-height: 1.38;
}

.method-feature-card__list i {
  color: var(--plot-sky);
  margin-top: 1px;
}

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

.service-reference-link {
  display: block;
  color: inherit;
}

.service-reference-card {
  background: #fbfcff;
  border: 1px solid rgba(8, 31, 71, 0.14);
  border-radius: 12px;
  padding: 30px 24px 26px;
  min-height: 440px;
  box-shadow: 0 10px 22px rgba(8, 31, 71, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.service-reference-link:hover .service-reference-card,
.service-reference-link:focus-visible .service-reference-card {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(8, 31, 71, 0.14);
  border-color: rgba(26, 158, 230, 0.65);
}

.service-reference-link:focus-visible {
  outline: none;
}

.service-reference-card--featured {
  border: 3px solid #1a9ee6;
}

.service-reference-card__icon {
  font-size: 1.85rem;
  color: #18aae8;
  margin-bottom: 12px;
}

.service-reference-card__title {
  margin: 0 0 10px;
  color: #131b29;
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.service-reference-card__title::after {
  content: "";
  display: block;
  width: 44px;
  margin-top: 9px;
  border-top: 3px solid #1cb2ec;
}

.service-reference-card__text {
  margin: 0;
  color: #2f394a;
  font-size: 0.95rem;
  line-height: 1.38;
}

.impact-banner {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  min-height: 222px;
  background-image:
    linear-gradient(
      90deg,
      rgba(7, 26, 65, 0.96) 0%,
      rgba(7, 26, 65, 0.84) 46%,
      rgba(7, 26, 65, 0.34) 78%,
      rgba(7, 26, 65, 0.18) 100%
    ),
    var(--banner-image);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(8, 31, 71, 0.18);
}

.impact-banner::after {
  content: "";
  position: absolute;
  left: 40%;
  top: -72px;
  width: 230px;
  height: calc(100% + 144px);
  border-left: 3px solid rgba(36, 130, 249, 0.9);
  border-top: 3px solid rgba(244, 169, 73, 0.88);
  border-bottom: 3px solid rgba(166, 49, 224, 0.84);
  border-radius: 50% 0 0 50%;
  opacity: 0.82;
  pointer-events: none;
}

.impact-banner__content {
  position: relative;
  z-index: 1;
  width: min(660px, 100%);
  padding: 38px 34px;
  color: #fff;
}

.impact-banner__title {
  margin: 0 0 10px;
  font-size: clamp(1.85rem, 3.1vw, 3.02rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.impact-banner__title .accent {
  color: var(--plot-sky);
}

.impact-banner__text {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 58ch;
}

.impact-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 600;
  font-size: 0.94rem;
  background: rgba(255, 255, 255, 0.02);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.impact-banner__btn i {
  color: #f3bd3f;
}

.impact-banner__btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

@media (max-width: 1080px) {
  .hero__grid,
  .split,
  .banner__inner,
  .cta__inner,
  .page-hero__inner,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual,
  .hero__image,
  .page-hero__visual {
    min-height: 420px;
  }

  .cards-grid--4,
  .cards-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero__grid {
    grid-template-columns: 1fr;
  }

  .home-services__head,
  .home-focus__head,
  .home-testimonials__head {
    grid-template-columns: 1fr;
  }

  .home-focus__grid,
  .home-testimonials__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .home-focus-card:nth-child(5) {
    grid-column-start: auto;
  }

  .home-service-card {
    flex: 0 0 calc((100% - 24px) / 2) !important;
  }

  .hero__grid {
    min-height: auto;
  }

  .hero__content {
    padding-bottom: 24px;
  }

  .inner-hero__grid,
  .services-reference-grid,
  .methodology-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inner-hero::before {
    left: 48%;
    width: 170px;
    transform: translateX(-85px);
  }

  .inner-hero__content {
    padding: 56px 18px 46px 0;
  }

  .service-reference-card--centered {
    grid-column: span 2;
  }
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 8px;
  gap: 5px;
  margin-left: auto;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(23, 181, 230, 0.1);
}

.burger-line {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--plot-navy);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.645, 0.045, 0.355, 1);
  transform-origin: center;
}

.mobile-menu-toggle.active .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .burger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-menu-toggle.active .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 780px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .site-header__inner {
    flex-wrap: nowrap;
    padding: 8px 0;
    justify-content: space-between;
    gap: 0;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 82px);
    height: calc(100dvh - 82px);
    background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
    border-top: 1px solid var(--plot-border);
    display: none;
    flex-direction: column;
    padding: 0;
    overflow-y: auto;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(8, 31, 71, 0.12);
    animation: slideDown 0.3s ease forwards;
  }

  .site-nav.active {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 8px 0;
  }

  .site-nav li {
    border-bottom: 1px solid rgba(8, 31, 71, 0.06);
    width: 100%;
    margin: 0;
  }

  .site-nav li:first-child {
    border-top: none;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--plot-text);
    position: relative;
  }

  .site-nav a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--plot-sky);
    transform: scaleY(0);
    transition: transform 0.2s ease;
  }

  .site-nav a:hover,
  .site-nav .current-menu-item > a {
    background: var(--plot-sky-soft);
    color: var(--plot-sky);
    padding-left: 28px;
  }

  .site-nav a:hover::before,
  .site-nav .current-menu-item > a::before {
    transform: scaleY(1);
  }

  .site-header__cta {
    width: 100%;
  }

  .site-header__cta .btn {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }

  .stats,
  .cards-grid--2,
  .cards-grid--3,
  .cards-grid--4 {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .home-hero__grid,
  .home-cta__inner {
    grid-template-columns: 1fr;
  }

  .home-hero__content,
  .home-hero__visual,
  .home-cta__content,
  .home-cta__image {
    min-height: auto;
  }

  .home-hero__content {
    padding: 42px 0 28px;
  }

  .home-hero__visual {
    aspect-ratio: 1 / 1.05;
  }

  .home-hero__content::after {
    display: none;
  }

  .home-section {
    padding: 60px 0;
  }

  .hero__grid,
  .page-hero__inner {
    min-height: auto;
  }

  .hero__content,
  .banner__content,
  .cta__content {
    padding: 28px 22px;
  }

  .entry-content {
    padding: 24px 18px;
  }

  .section--tight {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .inner-hero::before,
  .impact-banner::after {
    display: none;
  }

  .inner-hero__grid,
  .methodology-grid,
  .services-reference-grid {
    grid-template-columns: 1fr;
  }

  .inner-hero__content {
    padding: 42px 0 20px;
  }

  .inner-hero__title {
    font-size: clamp(2rem, 8vw, 2.9rem);
  }

  .inner-hero__media {
    min-height: 320px;
  }

  .method-feature-card,
  .service-reference-card {
    min-height: auto;
  }

  .service-reference-card--centered {
    grid-column: auto;
  }

  .impact-banner__content {
    padding: 28px 20px;
  }
}

@media (max-width: 780px) {
  .home-hero__grid,
  .home-services__head,
  .home-focus__head,
  .home-testimonials__head,
  .home-focus__grid,
  .home-testimonials__grid {
    grid-template-columns: 1fr !important;
  }

  .home-focus-card:nth-child(5) {
    grid-column-start: auto;
  }

  .home-service-card {
    flex: 0 0 100% !important;
  }

  .services-slider-container {
    padding: 0 16px !important;
  }

  .slider-arrow {
    display: none;
  }

  .home-services__grid {
    margin: -24px 0;
  }

  .home-hero__content::after {
    display: none;
  }

  .home-hero__visual,
  .home-hero__image {
    min-height: 360px;
  }

  .home-focus-card,
  .home-testimonial-card {
    flex: 1 1 100%;
  }

  .home-service-card,
  .home-focus-card,
  .home-testimonial-card {
    min-height: auto;
  }
}

@media (min-width: 781px) {
  .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
  }

  .brand {
    position: static;
    transform: none;
    margin-right: 0;
  }

  .brand img {
    width: 190px;
  }

  .site-nav {
    margin-left: auto;
    margin-right: auto;
  }
}
