/* ==========================================================================
   Kestrel : Modern Consulting & Finance
   Concept rebuild in the style of muncul.framer.website
   ========================================================================== */

:root {
  --cream: #FAFAF7;          /* page background */
  --cream-2: #F5F5E9;        /* card container / soft panel */
  --white: #FFFFFF;
  --ink: #000000;
  --ink-soft: #242424;
  --gray: #616161;
  --green: #1C4B42;          /* deep green */
  --lime: #B4E717;           /* accent */
  --black: #0A0A0A;          /* dark sections */

  --r-panel: 20px;
  --r-card: 15px;
  --r-media: 10px;
  --r-pill: 100px;

  --pad-x: 30px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.8s;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
fieldset { border: 0; }

h1, h2, h3, h4 {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.2; }

/* ---------- shared bits ---------- */

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 14px;
}
.eyebrow--dark { color: rgba(255, 255, 255, 0.6); }

.section-sub {
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--gray);
  line-height: 1.5;
}

.section-head { margin-bottom: 56px; }
.section-head h2 { margin-bottom: 18px; }
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin-inline: auto; }

.section-cta { display: flex; justify-content: center; margin-top: 40px; }

/* pill label (small tag on cream) */
.pill-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--cream-2);
  border-radius: var(--r-pill);
  padding: 7px 14px;
  width: fit-content;
}

/* soft panel that wraps card grids */
.panel {
  background: var(--cream-2);
  border-radius: var(--r-panel);
  padding: 10px;
  margin-inline: var(--pad-x);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--lime);
  border-radius: var(--r-pill);
  padding: 8px 8px 8px 20px;
  transition: transform 0.25s var(--ease-out), background 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: scale(1.04); }
.btn:active { transform: scale(0.97); }

.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: var(--lime);
  overflow: hidden;
  position: relative;
}
.btn__icon svg { transition: transform 0.3s var(--ease-out); }
.btn:hover .btn__icon svg { transform: translate(14px, -14px); }
.btn:hover .btn__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
}
/* second arrow flies in */
.btn__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: no-repeat center / 12px 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 11L11 3M5 3h6v6' stroke='%23B4E717' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform: translate(-14px, 14px);
  transition: transform 0.3s var(--ease-out);
  z-index: 1;
}
.btn:hover .btn__icon::before { transform: translate(0, 0); }

.btn--lg { font-size: 15px; padding: 10px 10px 10px 24px; }
.btn--lg .btn__icon { width: 32px; height: 32px; }
.btn--sm { font-size: 13px; padding: 6px 6px 6px 16px; }
.btn--sm .btn__icon { width: 24px; height: 24px; }
.btn:not(:has(.btn__icon)) { padding: 12px 24px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}
.link-arrow svg { transition: transform 0.3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }

/* person row (avatar + name + role) */
.person { display: flex; align-items: center; gap: 12px; }
.person img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.person strong { display: block; font-size: 14px; font-weight: 500; }
.person span { display: block; font-size: 12px; color: var(--gray); }
.person--dark strong { color: var(--white); }
.person--dark span { color: rgba(255, 255, 255, 0.55); }

/* stars */
.stars { display: flex; gap: 3px; }
.stars svg { fill: var(--ink); }
.stars--lime svg { fill: var(--lime); }

/* accordion +/- button */
.acc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.acc-btn svg path { transition: 0.3s; }
.is-open .acc-btn,
[aria-expanded="true"] .acc-btn {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

/* ---------- reveal on scroll ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-d="1"] { --d: 1; }
[data-d="2"] { --d: 2; }
[data-d="3"] { --d: 3; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none !important; }
  .hero__bg { transition: none !important; }
  .mobile-menu, .menu-toggle span { transition: none; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad-x);
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { display: inline-flex; }
.brand__name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--white);
}
.brand__name--dark { color: var(--ink); }

.nav-pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  background: var(--white);
  border-radius: var(--r-pill);
  padding: 6px;
}
.nav-pill a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 10px 18px;
  border-radius: var(--r-pill);
  transition: background 0.25s;
}
.nav-pill a:hover { background: var(--cream-2); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 60;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu[hidden] { display: none; }
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(10, 10, 10, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s;
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.mobile-menu nav > a:not(.btn) {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--white);
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */

.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  overflow: clip;
  border-radius: 0 0 var(--r-panel) var(--r-panel);
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 0s 1s;
}
.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease;
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 7s linear;
}
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 12, 10, 0.45) 0%, rgba(5, 12, 10, 0.25) 45%, rgba(5, 12, 10, 0.65) 100%),
    linear-gradient(90deg, rgba(5, 12, 10, 0.55) 0%, rgba(5, 12, 10, 0.15) 60%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 var(--pad-x);
  top: 50%;
  transform: translateY(-54%);
}
.hero__content h1 {
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 28px;
}
.hero__content p {
  font-size: 18px;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.9);
  max-width: 420px;
  margin-bottom: 36px;
}
.hero__actions { display: flex; align-items: center; gap: 28px; }

/* slide-in of text per slide */
.hero__slide h1, .hero__slide p, .hero__slide .hero__actions {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.hero__slide.is-active h1 { opacity: 1; transform: none; transition-delay: 0.25s; }
.hero__slide.is-active p { opacity: 1; transform: none; transition-delay: 0.38s; }
.hero__slide.is-active .hero__actions { opacity: 1; transform: none; transition-delay: 0.5s; }

/* vertical dots */
.hero__dots {
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero__dot {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: border-color 0.3s;
}
.hero__dot i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.3s;
}
.hero__dot.is-active { border-color: var(--white); }
.hero__dot.is-active i { background: var(--white); }

/* bottom-right slide tags */
.hero__tags {
  position: absolute;
  right: var(--pad-x);
  bottom: 30px;
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero__tag {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-pill);
  padding: 14px 26px;
  transition: background 0.35s, color 0.35s;
}
.hero__tag:hover { background: rgba(255, 255, 255, 0.22); }
.hero__tag.is-active {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink-soft);
}

/* ==========================================================================
   LOGO TICKER
   ========================================================================== */

.logos { padding: 90px 0 40px; }
.logos__title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 44px;
}

.ticker {
  overflow: clip;
  margin-inline: var(--pad-x);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: ticker 30s linear infinite;
}
@keyframes ticker {
  to { transform: translateX(calc(-50% - 5px)); }
}
.ticker__item {
  display: grid;
  place-items: center;
  width: 226px;
  height: 96px;
  background: var(--white);
  border-radius: var(--r-card);
  flex: 0 0 auto;
}
.logo-word { color: #2b2b2b; opacity: 0.85; }
.logo-word--serif { font-family: Georgia, serif; font-size: 21px; }
.logo-word--caps { font-size: 15px; font-weight: 600; letter-spacing: 0.22em; }
.logo-word--round { font-size: 22px; font-weight: 600; letter-spacing: -0.04em; }
.logo-word--mono { font-family: "SF Mono", Menlo, monospace; font-size: 17px; font-weight: 500; }
.logo-word--wide { font-size: 16px; font-weight: 500; }

.logos__caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: fit-content;
  margin: 26px auto 0;
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--white);
  border-radius: var(--r-pill);
  padding: 9px 18px;
}
.cap-ic { display: inline-flex; }

/* ==========================================================================
   SERVICES
   ========================================================================== */

.services { padding: 110px 0 0; }
.services .section-head { padding: 0 var(--pad-x); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.svc-card { display: flex; flex-direction: column; gap: 10px; }
.svc-card__media {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 10px;
}
.svc-card__media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--r-media);
  transition: transform 0.6s var(--ease-out);
}
.svc-card:hover .svc-card__media img { transform: scale(1.02); }
.svc-card__body {
  flex: 1;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 22px 24px 26px;
}
.svc-card__body h3 { font-size: 20px; margin-bottom: 10px; }
.svc-card__body p { font-size: 14px; letter-spacing: -0.02em; color: var(--gray); }

/* ==========================================================================
   ABOUT
   ========================================================================== */

.about {
  display: grid;
  grid-template-columns: minmax(380px, 520px) 1fr;
  gap: 60px;
  padding: 130px var(--pad-x) 60px;
}
.about__left { display: flex; flex-direction: column; align-items: flex-start; }
.about__left h2 { margin-bottom: 24px; }
.about__left .section-sub { margin-bottom: 18px; max-width: 460px; }
.about__left .btn { margin-top: 12px; }

.about__small {
  margin-top: 64px;
  width: min(100%, 440px);
}
.about__small img,
.about__tall img {
  width: 100%;
  border-radius: var(--r-panel);
  object-fit: cover;
}
.about__small img { height: 300px; }
.about__tall img { height: 100%; min-height: 620px; }

/* ==========================================================================
   STATS
   ========================================================================== */

.stats { padding: 60px 0; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 24px;
  min-height: 250px;
}
.stat-card__num {
  font-size: clamp(42px, 4vw, 60px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 26px 0 auto;
}
.stat-card__cap {
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--gray);
  margin-top: 40px;
}

/* ==========================================================================
   PROCESS
   ========================================================================== */

.process { padding: 80px 0 0; }
.process .section-head { padding: 0 var(--pad-x); }

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.step-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 24px;
  min-height: 330px;
}
.step-card__top { display: flex; justify-content: space-between; align-items: baseline; }
.step-card__top h3 { font-size: 24px; }
.step-card__top span { font-size: 12px; color: var(--gray); }
.step-card p { font-size: 14px; letter-spacing: -0.02em; color: var(--gray); max-width: 270px; }

.process__image {
  grid-column: span 3;
  position: relative;
  border-radius: var(--r-card);
  overflow: clip;
  min-height: 430px;
}
.process__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process__logo {
  position: absolute;
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--white);
}

.process__cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  background: var(--black);
  border-radius: var(--r-card);
  padding: 28px 24px;
}
.process__cta h3 { font-size: 24px; color: var(--white); margin-bottom: 14px; }
.process__cta p { font-size: 14px; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.6); }

/* ==========================================================================
   CASE STUDIES
   ========================================================================== */

.cases { padding: 120px 0 0; }
.cases .section-head { padding: 0 var(--pad-x); }

.case-featured {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 10px;
}
.case-featured__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 24px;
  min-height: 540px;
}
.case-featured__text { margin: auto 0 24px; }
.case-featured__text h3 { font-size: 24px; max-width: 360px; margin-bottom: 16px; }
.case-featured__text p { font-size: 14px; letter-spacing: -0.02em; color: var(--gray); max-width: 330px; }

.case-featured__img { border-radius: var(--r-card); overflow: clip; }
.case-featured__img img { width: 100%; height: 100%; object-fit: cover; }

.case-featured__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.mini-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 24px;
  min-height: 265px;
}
.mini-card__label { font-size: 14px; letter-spacing: -0.02em; color: var(--ink-soft); }
.mini-card__num {
  font-size: clamp(38px, 3.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.mini-card--quote .mini-card__quote {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 26px;
}

.panel--recent { margin-top: 40px; padding: 24px 10px 10px; }
.recent-head {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 14px 22px;
}
.recent-head h3 { font-size: 24px; white-space: nowrap; }
.recent-head__line { flex: 1; height: 1px; background: rgba(0, 0, 0, 0.1); }

.case-acc { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.case-acc__item { background: var(--white); border-radius: var(--r-card); }
.case-acc__head {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 24px;
  padding: 22px 24px;
  text-align: left;
}
.case-acc__idx { font-size: 12px; color: var(--gray); width: 56px; flex: 0 0 56px; }
.case-acc__name { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; flex: 1; }

.case-acc__body {
  max-height: 0;
  overflow: clip;
  transition: max-height 0.55s var(--ease-out);
}
.case-acc__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 6px 24px 28px 104px;
}
.case-acc__content { display: flex; flex-direction: column; align-items: flex-start; }
.case-acc__content h4 {
  font-size: 20px;
  max-width: 420px;
  margin: 16px 0 14px;
}
.case-acc__content > p { font-size: 14px; letter-spacing: -0.02em; color: var(--gray); max-width: 440px; }
.case-acc__stats { display: flex; gap: 56px; margin: 24px 0 26px; }
.case-acc__stats strong { display: block; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.case-acc__stats span { font-size: 12px; color: var(--gray); }
.case-acc__inner figure { border-radius: var(--r-media); overflow: clip; align-self: start; }
.case-acc__inner figure img { width: 100%; height: 220px; object-fit: cover; }

/* plus -> minus: vertical bar collapses */
.acc-btn .vbar {
  transform-origin: 6px 6px;
  transition: transform 0.35s var(--ease-out);
}
.is-open .acc-btn .vbar { transform: scaleY(0); }

.panel--recent > div:last-child { padding: 14px; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials { padding: 120px 0 0; }
.testimonials .section-head { padding: 0 var(--pad-x); }

.testi__row1 {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 10px;
}
.testi-dark {
  display: flex;
  flex-direction: column;
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-card);
  padding: 28px 24px;
  min-height: 400px;
}
.testi-dark header strong { display: block; font-size: 16px; font-weight: 500; }
.testi-dark header span { font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.testi-dark__quote {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: auto 0;
  padding: 28px 0;
}
.testi-dark__stats { display: flex; gap: 56px; }
.testi-dark__stats strong { display: block; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.testi-dark__stats span { font-size: 12px; color: rgba(255, 255, 255, 0.55); }

.testi__img { border-radius: var(--r-card); overflow: clip; }
.testi__img img { width: 100%; height: 100%; object-fit: cover; }

.testi__row2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.testi-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 28px 24px;
  min-height: 380px;
}
.testi-card__quote {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
}
.testi-card .stars { margin-bottom: 22px; }
.testi-card .stars + .testi-card__quote { margin-bottom: auto; padding-bottom: 26px; }
.testi-card .person + .testi-card__quote { margin-top: auto; padding-top: 26px; }

.testi-photo {
  position: relative;
  border-radius: var(--r-card);
  overflow: clip;
  min-height: 380px;
}
.testi-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testi-photo__card {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: var(--white);
  border-radius: var(--r-media);
  padding: 20px;
}
.testi-photo__card h3 { font-size: 18px; margin-bottom: 4px; }
.testi-photo__card p { font-size: 12px; color: var(--gray); margin-bottom: 16px; }

/* ==========================================================================
   PRICING (dark)
   ========================================================================== */

.pricing { padding: 120px var(--pad-x) 0; }
.pricing__inner {
  background: var(--black);
  border-radius: var(--r-panel);
  padding: 64px 50px 56px;
  color: var(--white);
}
.pricing__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 44px;
}
.pricing__head h2 { color: var(--white); margin-bottom: 16px; }
.pricing__head .section-sub { color: rgba(255, 255, 255, 0.6); }

.pricing__proof { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.avatar-stack { display: flex; align-items: center; }
.avatar-stack img,
.avatar-stack span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--black);
  object-fit: cover;
}
.avatar-stack img:not(:first-child),
.avatar-stack span { margin-left: -12px; }
.avatar-stack span {
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.pricing__proof-meta { display: flex; align-items: center; gap: 10px; }
.pricing__proof-meta > span { font-size: 12px; color: rgba(255, 255, 255, 0.6); }

.tier-tabs { display: flex; gap: 8px; margin-bottom: 28px; }
.tier-tab {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-pill);
  padding: 12px 28px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.tier-tab:hover { border-color: rgba(255, 255, 255, 0.4); }
.tier-tab.is-active {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.tier-panels { position: relative; }
.tier-panel {
  display: none;
  grid-template-columns: 330px 1fr;
  gap: 10px;
}
.tier-panel.is-active { display: grid; animation: panelIn 0.5s var(--ease-out); }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.tier-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--r-card);
  padding: 24px;
  min-height: 390px;
}
.tier-info__tag { font-size: 13px; font-weight: 500; }
.tier-info h3 { font-size: 24px; margin-bottom: 12px; }
.tier-info p { font-size: 14px; letter-spacing: -0.02em; color: var(--gray); }

.tier-detail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--r-card);
  padding: 28px;
}
.tier-detail__main {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.tier-detail__list > p { font-size: 15px; font-weight: 500; margin-bottom: 20px; }
.tier-detail__list li {
  position: relative;
  font-size: 14px;
  letter-spacing: -0.02em;
  padding-left: 30px;
  margin-bottom: 13px;
}
.tier-detail__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green) no-repeat center / 9px 7px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.tier-detail__price { text-align: right; }
.tier-detail__price span { display: block; font-size: 13px; color: var(--gray); margin-bottom: 8px; }
.tier-detail__price strong {
  display: block;
  font-size: clamp(44px, 4vw, 60px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.tier-detail__price em { display: block; font-style: normal; font-size: 13px; color: var(--gray); margin-top: 10px; }

.tier-detail__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-top: 36px;
}
.tier-detail__foot p { font-size: 12px; color: var(--gray); line-height: 1.7; }

.pricing__more {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 10px;
  margin-top: 72px;
}
.pricing__more > p { font-size: 15px; color: rgba(255, 255, 255, 0.7); }
.pricing__more h3 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.3;
  max-width: 640px;
  margin-bottom: 40px;
}
.pricing__more-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { padding: 130px 0 0; }
.faq .section-head { padding: 0 var(--pad-x); margin-bottom: 34px; }

.faq__filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.faq-filter {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  background: var(--white);
  border-radius: var(--r-pill);
  padding: 9px 20px;
  transition: background 0.3s, color 0.3s;
}
.faq-filter:hover { color: var(--ink); }
.faq-filter.is-active { background: var(--green); color: var(--white); }

.panel--faq {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item { background: var(--white); border-radius: var(--r-media); }
.faq-item.is-hidden { display: none; }
.faq-item__head {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 20px 22px;
  text-align: left;
}
.faq-item__idx { font-size: 12px; color: var(--gray); flex: 0 0 22px; }
.faq-item__q { flex: 1; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.faq-item .acc-btn { width: 32px; height: 32px; flex-basis: 32px; }
.faq-item__body {
  max-height: 0;
  overflow: clip;
  transition: max-height 0.45s var(--ease-out);
}
.faq-item__body p {
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--gray);
  padding: 0 22px 22px 62px;
}

.faq__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 760px;
  margin: 20px auto 0;
  background: var(--black);
  border-radius: var(--r-pill);
  padding: 12px 12px 12px 26px;
}
.faq__cta strong { display: block; font-size: 16px; font-weight: 500; color: var(--white); letter-spacing: -0.02em; }
.faq__cta span { font-size: 12px; color: rgba(255, 255, 255, 0.55); }

/* ==========================================================================
   BLOG
   ========================================================================== */

.blog {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  gap: 70px;
  padding: 130px var(--pad-x) 120px;
}
.blog__left { display: flex; flex-direction: column; align-items: flex-start; position: sticky; top: 40px; height: fit-content; }
.blog__left h2 { margin-bottom: 20px; }
.blog__left .section-sub { max-width: 320px; margin-bottom: 30px; }

.blog__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 30px;
}
.post-card__img {
  display: block;
  border-radius: var(--r-panel);
  overflow: clip;
  margin-bottom: 18px;
}
.post-card__img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.post-card__meta .pill-label { background: var(--white); }
.post-card__meta time { font-size: 12px; color: var(--gray); }
.post-card h3 { font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.post-card h3 a { transition: color 0.3s; }
.post-card h3 a:hover { color: var(--green); }
.post-card > p { font-size: 14px; letter-spacing: -0.02em; color: var(--gray); }

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact { position: relative; padding: 120px var(--pad-x); overflow: clip; }
.contact__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.contact__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.72) 50%, rgba(5, 5, 5, 0.94) 100%);
}
.contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(520px, 680px);
  gap: 80px;
}
.contact__left h2 {
  font-size: clamp(38px, 4.2vw, 60px);
  color: var(--white);
  max-width: 480px;
  margin-bottom: 24px;
}
.contact__left .section-sub { color: rgba(255, 255, 255, 0.75); max-width: 440px; margin-bottom: 40px; }

.check-list { margin-bottom: 90px; }
.check-list li {
  position: relative;
  font-size: 14px;
  color: var(--white);
  padding-left: 32px;
  margin-bottom: 15px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green) no-repeat center / 10px 8px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1' stroke='%23B4E717' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.contact__quote blockquote {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--white);
  max-width: 480px;
  margin: 20px 0 28px;
}

.contact__form-wrap {
  background: rgba(250, 250, 247, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: var(--r-panel);
  padding: 34px;
}
.contact-form__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.contact-form h3 {
  font-size: 22px;
  line-height: 1.35;
  max-width: 430px;
  margin-bottom: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin-bottom: 26px;
}
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--r-media);
  padding: 13px 16px;
  transition: border-color 0.25s, background 0.25s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #8a8a85; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: rgba(255, 255, 255, 0.8);
}
.form-field textarea { resize: vertical; min-height: 150px; }

.form-radios { margin-bottom: 26px; }
.form-radios legend { font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.form-radios label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin: 0 22px 12px 0;
  cursor: pointer;
}
.form-radios input { position: absolute; opacity: 0; pointer-events: none; }
.form-radios i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.6);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.form-radios input:checked + i {
  border-color: var(--green);
  background: var(--green);
  box-shadow: inset 0 0 0 3.5px var(--cream);
}
.form-radios input:focus-visible + i { outline: 2px solid var(--green); outline-offset: 2px; }

.form-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-soft);
  margin: 4px 0 22px;
  cursor: pointer;
}
.form-agree a { text-decoration: underline; }
.form-agree input { position: absolute; opacity: 0; pointer-events: none; }
.form-agree i {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  border-radius: 4px;
  border: 1.5px solid rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.6);
  transition: 0.2s;
}
.form-agree input:checked + i {
  border-color: var(--green);
  background: var(--green) no-repeat center / 9px 7px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.form-agree input:focus-visible + i { outline: 2px solid var(--green); outline-offset: 2px; }

.contact-form__submit {
  width: 100%;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--lime);
  border-radius: var(--r-pill);
  padding: 16px;
  transition: transform 0.25s var(--ease-out), filter 0.25s;
}
.contact-form__submit:hover { transform: scale(1.015); filter: brightness(1.05); }
.contact-form__submit:active { transform: scale(0.99); }
.contact-form__note {
  font-size: 14px;
  color: var(--ink-soft);
  text-align: left;
  margin-top: 20px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer { background: #050505; padding: 0 var(--pad-x) 30px; }
.footer__card {
  background: var(--cream);
  border-radius: var(--r-panel);
  padding: 52px 48px 30px;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(4, minmax(130px, 1fr));
  gap: 50px;
  padding-bottom: 56px;
}
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer__tag { font-size: 14px; font-weight: 500; margin: 20px 0 10px; }
.footer__desc { font-size: 14px; letter-spacing: -0.02em; color: var(--gray); max-width: 320px; margin-bottom: 26px; }

.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__col > p { font-size: 13px; color: var(--gray); margin-bottom: 6px; }
.footer__col a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.25s;
}
.footer__col a::after {
  content: "→";
  font-size: 12px;
  margin-left: 6px;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  display: inline-block;
  transform: translateX(-4px);
}
.footer__col a:hover { color: var(--green); }
.footer__col a:hover::after { opacity: 1; transform: none; }
.footer__contact-label { font-size: 12px; color: var(--gray); margin-bottom: -6px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 24px;
}
.footer__bottom p { font-size: 13px; color: var(--gray); }
.footer__bottom div { display: flex; gap: 26px; }
.footer__bottom a { font-size: 13px; font-weight: 500; }
.footer__bottom a:hover { color: var(--green); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1180px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .process__image { grid-column: span 2; min-height: 340px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card { min-height: 210px; }
  .case-featured { grid-template-columns: 1fr; }
  .case-featured__card { min-height: 380px; }
  .case-featured__img img { height: 420px; }
  .case-featured__row { grid-template-columns: 1fr 1fr; }
  .testi__row1 { grid-template-columns: 1fr; }
  .testi__img img { height: 360px; }
  .testi__row2 { grid-template-columns: 1fr 1fr; }
  .tier-panel { grid-template-columns: 1fr; }
  .tier-info { min-height: 0; gap: 40px; }
  .contact__inner { grid-template-columns: 1fr; gap: 60px; }
  .blog { grid-template-columns: 1fr; gap: 50px; }
  .blog__left { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-pill, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .hero__dots {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 26px;
    transform: translateX(-50%);
    flex-direction: row;
  }
  .hero__tags { display: none; }
  .pricing__head { flex-direction: column; align-items: flex-start; }
  .pricing__proof { align-items: flex-start; }
  .pricing__inner { padding: 44px 24px; }
  .pricing__more { grid-template-columns: 1fr; margin-top: 48px; }
  .tier-detail__main { flex-direction: column-reverse; }
  .tier-detail__price { text-align: left; }
  .tier-detail__foot { flex-direction: column; align-items: flex-start; }
  .about { grid-template-columns: 1fr; padding-top: 90px; }
  .about__tall { order: -1; }
  .about__tall img { min-height: 0; height: 420px; }
  .about__small { margin-top: 40px; }
  .case-acc__inner { grid-template-columns: 1fr; padding-left: 24px; }
  .faq__cta { margin-inline: var(--pad-x); border-radius: 24px; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  :root { --pad-x: 16px; }
  .services__grid, .process__grid, .stats__grid,
  .case-featured__row, .testi__row2, .blog__grid { grid-template-columns: 1fr; }
  .process__image { grid-column: span 1; }
  .svc-card__media img { height: 210px; }
  .hero__content h1 { font-size: 42px; }
  .hero__content p { font-size: 16px; }
  .hero__actions { flex-wrap: wrap; gap: 18px; }
  .mini-card, .testi-card, .stat-card { min-height: 0; }
  .mini-card__num { margin-top: 40px; }
  .stat-card__cap { margin-top: 28px; }
  .testi-card .stars + .testi-card__quote,
  .testi-card .person + .testi-card__quote { padding-bottom: 0; padding-top: 20px; }
  .testi-photo { min-height: 420px; }
  .form-grid { grid-template-columns: 1fr; }
  .tier-tabs { flex-wrap: wrap; }
  .tier-tab { padding: 10px 18px; font-size: 13px; }
  .case-acc__head { gap: 12px; padding: 18px 16px; }
  .case-acc__idx { width: 40px; flex-basis: 40px; }
  .case-acc__name { font-size: 17px; }
  .case-acc__stats { gap: 32px; }
  .footer__card { padding: 36px 22px 24px; }
  .footer__top { grid-template-columns: 1fr; gap: 34px; padding-bottom: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .faq-item__body p { padding-left: 22px; }
  .contact { padding-top: 90px; padding-bottom: 90px; }
  .check-list { margin-bottom: 56px; }
  .contact__form-wrap { padding: 22px 16px; }
  .recent-head { padding-inline: 6px; }
}
