/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
  --green: #67b860;
  --green-dark: #4fa049;
  --green-soft: #e8f5e7;
  --ink: #1b1b1b;
  --ink-2: #3a3a3a;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --bg-soft: #f8f8f8;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm:
    0 2px 6px rgba(20, 20, 20, 0.04), 0 1px 2px rgba(20, 20, 20, 0.03);
  --shadow-md:
    0 10px 30px rgba(20, 20, 20, 0.07), 0 2px 6px rgba(20, 20, 20, 0.04);
  --shadow-lg:
    0 20px 60px rgba(20, 20, 20, 0.12), 0 4px 12px rgba(20, 20, 20, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family:
    'Manrope',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(103, 184, 96, 0.28);
}
.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 12px 28px rgba(103, 184, 96, 0.36);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-lg {
  padding: 18px 30px;
  font-size: 17px;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: #fafafa;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(103, 184, 96, 0.35);
}
.logo-mark svg {
  width: 18px;
  height: 18px;
}
.logo-text b {
  font-weight: 800;
}
.logo-text span {
  color: var(--green);
  font-weight: 800;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-phone {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.header-phone:hover {
  color: var(--green);
}
.header-phone svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

/* Header YK badge */
.ht-yk {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.ht-yk-badge {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #cc2d2d;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ht-yk-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.3;
  max-width: 210px;
}

/* Header messengers */
.ht-messengers {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ht-msg-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
  flex-shrink: 0;
}
.ht-msg-btn:hover {
  transform: scale(1.08);
  opacity: 0.9;
}
.ht-msg-btn img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
}

/* Header phone block */
.ht-phone {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.ht-phone-info {
  text-align: right;
}
.ht-phone-info small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}
.ht-phone-info a {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.ht-phone-info a:hover {
  color: var(--green);
}

/* Header rating */
.ht-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.ht-stars {
  color: #ffc107;
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1;
}
.ht-rating-info b {
  font-size: 15px;
  font-weight: 800;
}
.ht-rating-info small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.25;
}

.ht-callback {
  padding: 9px 16px;
  border-radius: 999px;
  background: transparent;
  border: 1.5px solid var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  transition: all 0.15s ease;
  cursor: pointer;
  flex-shrink: 0;
}
.ht-callback:hover {
  background: var(--ink);
  color: #fff;
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
h2.section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  text-wrap: balance;
  font-weight: 600;
}
.section-sub {
  color: var(--muted);
  font-size: 17px;
  margin-top: 14px;
  font-weight: 500;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 130px 0 90px;
  background:
    radial-gradient(
      900px 500px at 85% 0%,
      rgba(103, 184, 96, 0.1),
      transparent 60%
    ),
    radial-gradient(
      700px 400px at 0% 100%,
      rgba(103, 184, 96, 0.06),
      transparent 60%
    ),
    #fff;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  background: var(--green-soft);
  color: #2f7a29;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(103, 184, 96, 0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(103, 184, 96, 0.2);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(103, 184, 96, 0.05);
  }
}

h1.hero-title {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.05;
  font-weight: 600;
  margin-bottom: 22px;
  text-wrap: balance;
}
h1.hero-title .accent {
  color: var(--green);
  position: relative;
  display: inline-block;
}
h1.hero-title .accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.18em;
  background: rgba(103, 184, 96, 0.18);
  z-index: -1;
  border-radius: 2px;
}

.hero-sub {
  color: var(--muted);
  font-size: 19px;
  max-width: 540px;
  margin-bottom: 30px;
  font-weight: 500;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
}
.bullet .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.bullet .check svg {
  width: 13px;
  height: 13px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-cta-meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-cta-meta .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

/* ============================================================
   HERO PERSON PHOTO  (responsive — replaces all inline styles)
   ============================================================ */
.hero-person {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 499px;
  top: -30px;
}

.hero-person-photo {
  width: 100%;
  aspect-ratio: 449 / 562;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: filter 0.35s ease;
}
.hero-person-photo:hover {
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.28));
}

.hero-person-caption {
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-42%);
  text-align: center;
  width: 60%; /* % of parent, so it scales */
  min-width: 200px;
  max-width: 300px;
}

.hero-person-caption .bubble-bg {
  width: 100%;
  display: block;
}

.hero-person-name {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  font-size: clamp(13px, 2.2vw, 21px);
  font-weight: 500;
  color: #000;
  font-family: 'Manrope', sans-serif;
  white-space: nowrap;
}

.hero-person-tag {
  width: 90%;
  margin: -10px auto 0;
  display: block;
}

.hero-person-role {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  font-size: clamp(10px, 1.4vw, 15px);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  white-space: nowrap;
}

/* ============================================================
   RESULTS (swiper)
   ============================================================ */
.results {
  background: var(--bg-soft);
  padding: 80px 0 100px;
}

.res-slider-wrap {
  margin-top: 48px;
  overflow: hidden;
}
.res-swiper {
  overflow: visible !important;
}
.res-swiper .swiper-wrapper {
  padding: 0 0 20px 0;
  align-items: center;
}

.res-swiper .swiper-slide {
  width: 420px;
  opacity: 0.25;
  transform: scale(0.72);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  pointer-events: none;
}
.res-swiper .swiper-slide-prev,
.res-swiper .swiper-slide-next {
  opacity: 0.65;
  transform: scale(0.88);
}
.res-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.res-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
}

.res-card-photo {
  flex: 0 0 213px;
  position: relative;
  cursor: zoom-in;
}
.res-card-photo > a.res-photo-main {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  border-radius: 14px;
  overflow: hidden;
  outline: none;
}
.res-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}
.res-card-photo:hover img {
  transform: scale(1.05);
}

.res-photo-overlay {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.32);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.res-card-photo:hover .res-photo-overlay {
  opacity: 1;
}

#photo-click-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
#photo-click-hint.fading {
  opacity: 0;
}

@media (hover: hover) {
  .res-card-photo:hover #photo-click-hint {
    opacity: 0;
  }
}

.hint-finger {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 2;
  animation: finger-tap 1.5s ease-in-out infinite;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.55));
}

@keyframes finger-tap {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  45% {
    transform: translateY(5px) scale(0.93);
  }
}

.hint-ripple {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple-out 1.8s ease-out infinite;
}
.hint-ripple:nth-child(2) {
  animation-delay: 0.7s;
}

@keyframes ripple-out {
  0% {
    transform: translate(-50%, -50%) scale(0.25);
    opacity: 0.85;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.6);
    opacity: 0;
  }
}
.res-photo-overlay svg {
  width: 26px;
  height: 26px;
}
.res-photo-overlay span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.res-card-photo-count-abs {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 3;
}

.portfolio-body {
  flex: 1;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}
.portfolio-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--green-soft);
  color: #2f7a29;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.portfolio-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.2;
}
.portfolio-summary {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 10px;
}
.portfolio-note {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 0;
  border-top: 1px dashed var(--line);
}
.portfolio-note strong {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}
.portfolio-note span {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}

.res-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.res-ctrl {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
  flex-shrink: 0;
}
.res-ctrl:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.res-ctrl svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   REVIEWS SLIDER
   ============================================================ */
.reviews-section {
  padding: 80px 0 100px;
  background: #fff;
  overflow: hidden;
}
.reviews-swiper-wrap {
  margin-top: 44px;
  position: relative;
}
.reviews-swiper {
  width: 100%;
  padding-left: 24px !important;
}

.reviews-swiper .swiper-slide {
  width: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
.reviews-swiper .swiper-slide:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.reviews-swiper .swiper-slide a {
  display: block;
  cursor: zoom-in;
}
.reviews-swiper .swiper-slide img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
  display: block;
}
.reviews-swiper .swiper-slide .slide-caption {
  padding: 12px 14px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.4;
  background: #fff;
  border-top: 1px solid var(--line);
}

.reviews-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.reviews-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.reviews-nav-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.reviews-nav-btn.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
}
.reviews-nav-btn svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   RESPONSIBILITY
   ============================================================ */
.resp {
  padding: 110px 0;
  background: #fff;
  overflow: hidden;
}
.resp-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.resp-visual {
  position: relative;
  aspect-ratio: 1 / 1.04;
  max-width: 540px;
}
.resp-stack {
  position: absolute;
  inset: 0;
  perspective: 1400px;
}

.doc {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  box-shadow:
    0 30px 60px rgba(20, 20, 20, 0.12),
    0 8px 18px rgba(20, 20, 20, 0.06);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.05);
}
.doc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--green);
}
.doc-inner {
  padding: 34px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
.doc-row {
  height: 9px;
  border-radius: 4px;
  background: #eee9e0;
}
.doc-row.s1 {
  width: 55%;
  background: #1b1b1b;
  height: 11px;
  margin-bottom: 6px;
}
.doc-row.s2 {
  width: 90%;
}
.doc-row.s3 {
  width: 80%;
}
.doc-row.s4 {
  width: 96%;
}
.doc-row.s5 {
  width: 70%;
}
.doc-row.s6 {
  width: 88%;
}
.doc-row.s7 {
  width: 60%;
}

.doc-foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.doc-stamp {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2px dashed var(--green);
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
  transform: rotate(-12deg);
  opacity: 0.85;
}
.doc-stamp span {
  display: block;
}
.doc-sign {
  flex: 1;
  height: 34px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 34' fill='none' stroke='%231B1B1B' stroke-width='2' stroke-linecap='round'><path d='M4 22 C 12 8, 18 8, 22 18 S 32 28, 38 14 C 44 4, 52 14, 58 22 S 72 8, 82 16 C 92 24, 98 12, 108 18 S 124 26, 134 14 C 142 6, 152 14, 156 18'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
}

.doc.d1 {
  top: 0;
  left: 8%;
  width: 78%;
  height: 96%;
  transform: rotate(-7deg);
  z-index: 1;
  opacity: 0.55;
}
.doc.d2 {
  top: 6%;
  right: 0;
  width: 80%;
  height: 90%;
  transform: rotate(5deg);
  z-index: 2;
  opacity: 0.85;
}
.doc.d3 {
  top: 14%;
  left: 6%;
  width: 84%;
  height: 88%;
  transform: rotate(-2deg) translateY(0);
  z-index: 3;
  box-shadow:
    0 40px 80px rgba(103, 184, 96, 0.18),
    0 12px 24px rgba(20, 20, 20, 0.1);
}
.resp-visual:hover .doc.d3 {
  transform: rotate(-2deg) translateY(-6px);
}
.resp-visual:hover .doc.d2 {
  transform: rotate(7deg) translateY(-3px);
}
.resp-visual:hover .doc.d1 {
  transform: rotate(-9deg);
}

.resp-badge {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow:
    0 20px 40px rgba(103, 184, 96, 0.4),
    0 4px 10px rgba(0, 0, 0, 0.08);
  z-index: 5;
  border: 6px solid #fff;
  animation: rotateSlow 22s linear infinite;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
}
@keyframes rotateSlow {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
.resp-badge-inner {
  width: 96px;
  height: 96px;
  border: 1.5px dashed rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 8px;
}
.resp-badge b {
  display: block;
  font-size: 24px;
  letter-spacing: -0.01em;
  font-weight: 800;
  margin-bottom: 2px;
}
.resp-badge small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: block;
}

.resp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  background: var(--green-soft);
  color: #2f7a29;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}
.resp-eyebrow svg {
  width: 14px;
  height: 14px;
}
.resp-title {
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 18px;
  text-wrap: balance;
}
.resp-sub {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
  max-width: 520px;
}

.resp-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}
.resp-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--bg-soft);
  border-radius: 14px;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.resp-item:hover {
  background: #fff;
  border-color: var(--green-soft);
  box-shadow: var(--shadow-sm);
}
.resp-item .check {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(103, 184, 96, 0.32);
}
.resp-item .check svg {
  width: 18px;
  height: 18px;
}
.resp-item span {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  padding-top: 7px;
}

.resp-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  background: linear-gradient(135deg, #1b1b1b 0%, #2a2a2a 100%);
  color: #fff;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.resp-callout::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(103, 184, 96, 0.28) 0%,
    transparent 70%
  );
}
.resp-callout-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(103, 184, 96, 0.2);
  color: var(--green);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}
.resp-callout-icon svg {
  width: 20px;
  height: 20px;
}
.resp-callout-text {
  position: relative;
  z-index: 1;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
.resp-callout-text b {
  color: #fff;
  font-weight: 800;
}
.resp-callout-text .green {
  color: var(--green);
  font-weight: 800;
}

/* ============================================================
   OWNER
   ============================================================ */
.owner {
  padding: 100px 0;
  background: #fff;
}
.owner-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: center;
  background: linear-gradient(135deg, #f4fbf3 0%, #fff 60%);
  padding: 60px 56px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.owner-left {
  text-align: center;
}
.owner-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7ac972 0%, #3d8e37 100%);
  color: #fff;
  font-weight: 800;
  font-size: 64px;
  letter-spacing: -0.02em;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  box-shadow:
    0 30px 60px rgba(103, 184, 96, 0.3),
    0 8px 20px rgba(0, 0, 0, 0.05);
  border: 6px solid #fff;
}
.owner-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.owner-role {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
}
.owner-title {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.owner-text {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 560px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
}

.footer-tagline {
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 40px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-col-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.footer-col-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.footer-link:hover {
  color: var(--green);
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-2);
  transition:
    border-color 0.15s,
    color 0.15s,
    background 0.15s;
}

.footer-social-btn:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-soft);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.footer-bottom a:hover {
  color: var(--ink);
}

@media (max-width: 980px) {
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-tagline {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 44px 0 24px;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer-tagline {
    font-size: 17px;
    text-align: left;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}
.modal-backdrop.open {
  display: flex;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  width: 100%;
  max-width: 460px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}
.modal-close:hover {
  background: #eee;
}
.modal-close svg {
  width: 14px;
  height: 14px;
}
.modal h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.modal .modal-sub {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  font-weight: 500;
  background: #fff;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(103, 184, 96, 0.15);
}
.form-input.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.12);
}

.form-error {
  font-size: 13px;
  color: #e74c3c;
  margin-top: 6px;
  display: none;
  font-weight: 600;
}
.form-error.show {
  display: block;
}

.channel-toggle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--bg-soft);
  padding: 5px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.channel-toggle button {
  padding: 11px 8px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.channel-toggle button.active {
  background: #fff;
  color: var(--ink);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.04);
}
.channel-toggle button svg {
  width: 14px;
  height: 14px;
}

.form-submit {
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  margin-top: 6px;
}
.form-fine {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}
.form-fine a {
  color: var(--green);
  text-decoration: underline;
}

.form-success {
  text-align: center;
  padding: 30px 10px;
  display: none;
}
.form-success.show {
  display: block;
}
.form-success .ok-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  animation: popIn 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}
.form-success .ok-circle svg {
  width: 32px;
  height: 32px;
}
@keyframes popIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.form-success h3 {
  margin-bottom: 10px;
}
.form-success p {
  color: var(--muted);
  font-size: 15px;
}

/* ============================================================
   REVEAL ANIMATIONS  (single definition)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal-stagger.in > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.in > *:nth-child(1) {
  transition-delay: 0s;
}
.reveal-stagger.in > *:nth-child(2) {
  transition-delay: 0.07s;
}
.reveal-stagger.in > *:nth-child(3) {
  transition-delay: 0.14s;
}
.reveal-stagger.in > *:nth-child(4) {
  transition-delay: 0.21s;
}
.reveal-stagger.in > *:nth-child(5) {
  transition-delay: 0.28s;
}
.reveal-stagger.in > *:nth-child(6) {
  transition-delay: 0.35s;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* ============================================================
   RESPONSIVE — 980px
   ============================================================ */
@media (max-width: 980px) {
  .hero {
    padding: 140px 0 70px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  /* Hero person: full width, centered, bubble pulls in tighter */
  .hero-person {
    max-width: 380px;
    margin: 0 auto;
    top: 0;
  }
  .hero-person-caption {
    width: 55%;
    bottom: -28px;
  }

  .res-swiper .swiper-slide {
    width: 360px;
  }

  .owner-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 32px;
    text-align: center;
  }
  .owner-text {
    margin-left: auto;
    margin-right: auto;
  }

  .ht-yk-text {
    display: none;
  }
  .ht-phone-info small {
    display: none;
  }
  .ht-callback {
    display: none;
  }

  .hero-person-name {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    font-size: 17px;
    font-weight: 500;
    color: #000;
    font-family: 'Manrope', sans-serif;
    white-space: nowrap;
  }

  .hero-person-role {
    font-size: 12px;
    top: -23px;
    position: relative;
  }
}

/* ============================================================
   RESPONSIVE — 640px
   ============================================================ */
@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }
  .header-inner {
    height: 64px;
  }
  .header-phone span {
    display: none;
  }

  .btn {
    padding: 12px 18px;
    font-size: 14px;
  }
  .btn-lg {
    padding: 15px 22px;
    font-size: 15px;
  }

  .hero {
    padding: 100px 0 60px;
  }
  .hero-sub {
    font-size: 16px;
  }

  /* Hero person: constrain, nudge caption */
  .hero-person {
    max-width: 100%;
    top: 0;
  }
  .hero-person-caption {
    width: 58%;
    min-width: 160px;
    bottom: -22px;
    transform: translateX(-46%);
  }
  .hero-person-name {
    top: 15px;
  }
  .hero-person-role {
    top: -30px;
  }

  .results {
    padding: 60px 0 80px;
  }
  .res-swiper .swiper-slide {
    width: 280px;
  }
  .res-card {
    flex-direction: column;
    gap: 14px;
  }
  .res-card-photo {
    flex: none;
    height: 200px;
  }
  .res-card-photo > a.res-photo-main {
    min-height: 200px;
  }

  .reviews-section {
    padding: 60px 0 80px;
  }
  .reviews-swiper .swiper-slide {
    width: 180px;
  }

  .resp {
    padding: 60px 0;
  }
  .resp-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .resp-item {
    padding: 14px 16px;
  }
  .resp-item span {
    font-size: 15px;
  }
  .resp-visual {
    aspect-ratio: 1 / 0.95;
  }
  .resp-badge {
    width: 108px;
    height: 108px;
    font-size: 9px;
  }
  .resp-badge-inner {
    width: 74px;
    height: 74px;
  }
  .resp-badge b {
    font-size: 18px;
  }

  .owner {
    padding: 70px 0;
  }
  .owner-grid {
    padding: 36px 22px;
  }
  .owner-avatar {
    width: 160px;
    height: 160px;
    font-size: 52px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .fab {
    padding: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    justify-content: center;
    bottom: 18px;
    right: 18px;
  }
  .fab .fab-text {
    display: none;
  }

  .modal {
    padding: 30px 24px;
  }
  .channel-toggle button {
    padding: 10px 4px;
    font-size: 12.5px;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }
  .footer-dot {
    display: none;
  }
  .footer-inner > * {
    flex-basis: 100%;
  }

  .ht-phone-info {
    display: none;
  }

  .header-right {
    gap: 10px;
  }

  .header .container {
    padding-left: 6px;
  }

  .hero-person-photo {
    margin-top: -80px;
  }

  .hero-title {
    font-size: 30px;
  }
}

@media (max-width: 500px) {
  .hero-person-name {
    top: 8px;
  }
  .hero-person-role {
    top: -25px;
  }
}

/* ============================================================
   RESULTS — wide screens (>1700px)
   ============================================================ */
@media (min-width: 1400px) {
  .res-swiper .swiper-slide {
    width: 560px;
  }
  .res-card-photo {
    flex: 0 0 240px;
  }
  .res-card-photo > a.res-photo-main {
    min-height: 460px;
  }
  .portfolio-body h3 {
    font-size: 18px;
  }
  .portfolio-summary {
    font-size: 14px;
  }
  .portfolio-note span {
    font-size: 13px;
  }
  .portfolio-tag {
    font-size: 12px;
  }
}

/* ============================================================
   RESPONSIBILITY — photo instead of doc stack
   ============================================================ */
.resp-photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  max-width: 480px;
}

.resp-photo-img {
  width: 100%;
  aspect-ratio: 449 / 430;
  object-fit: cover;
  display: block;
}

@media (max-width: 980px) {
  .resp-photo {
    max-width: 340px;
    height: 300px;
    top: 88px;
    margin: 0 auto;
  }

  .resp {
    padding: 80px 0;
  }
  .resp-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .resp-visual {
    margin: 0 auto;
    max-width: 440px;
  }
  .resp-list {
    grid-template-columns: 1fr 1fr;
  }
  .resp-photo-img {
    object-fit: contain;
  }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 100px 0;
  background: var(--bg-soft);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.faq-item.open {
  border-color: rgba(103, 184, 96, 0.35);
  box-shadow: var(--shadow-md);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  user-select: none;
}
.faq-q-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  transition:
    background 0.2s ease,
    transform 0.3s ease;
}
.faq-icon svg {
  width: 14px;
  height: 14px;
}
.faq-item.open .faq-icon {
  background: var(--green);
  color: #fff;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-a {
  max-height: 400px;
}
.faq-a-inner {
  padding: 18px 26px 22px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 500;
  border-top: 1px dashed var(--line);
}
.faq-a-inner strong {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 640px) {
  .faq {
    padding: 70px 0;
  }
  .faq-q {
    padding: 18px 20px;
  }
  .faq-q-text {
    font-size: 15px;
  }
  .faq-a-inner {
    padding: 14px 20px 18px;
  }
  .resp-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   POPUPS (time-trigger & exit-intent)
   ============================================================ */
.popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 20, 20, 0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.22s ease;
}
.popup-backdrop.open {
  display: flex;
}

.popup {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 460px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.1);
  overflow: hidden;
}
.popup::before {
  content: '';
  display: block;
  height: 5px;
  background: var(--green);
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  transition: background 0.15s;
  z-index: 2;
}
.popup-close:hover {
  background: #eee;
}
.popup-close svg {
  width: 13px;
  height: 13px;
}

.popup-body {
  padding: 28px 32px 32px;
}

.popup-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.popup-icon svg {
  width: 22px;
  height: 22px;
}

.popup-title {
  font-size: 20px;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 18px;
  text-wrap: balance;
}

.popup-sub {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 20px;
  font-weight: 500;
}

.popup-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.popup-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.4;
}
.popup-bullets li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--green);
  margin-top: 1px;
}

.popup-send-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 10px;
}

.popup-phone-row {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  margin-bottom: 6px;
}
.popup-phone-row:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(103, 184, 96, 0.15);
}
.popup-flag {
  padding: 0 12px;
  font-size: 20px;
  line-height: 1;
  border-right: 1.5px solid var(--line);
  height: 50px;
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  flex-shrink: 0;
}
.popup-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 500;
  background: transparent;
  color: var(--ink);
}

.popup-submit {
  width: 100%;
  margin-top: 14px;
  padding: 15px 20px;
  font-size: 15px;
  border-radius: 12px;
}

.popup-fine {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
}
.popup-fine a {
  color: var(--green);
  text-decoration: underline;
}

/* Exit popup badge */
.popup-exit-badge {
  display: inline-flex;
  flex-direction: column;
  padding: 8px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* PDF book covers */
.popup-pdf-books {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.popup-book {
  flex: 1;
}
.popup-book-cover {
  border-radius: 10px;
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 130px;
  position: relative;
  overflow: hidden;
}
.popup-book-cover--dark {
  background: linear-gradient(145deg, #222 0%, #111 100%);
}
.popup-book-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1;
}
.popup-book-text {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
}

/* Success state */
.popup-success {
  text-align: center;
  padding: 20px 10px 10px;
  display: none;
}
.popup-success.show {
  display: block;
}
.popup-success .ok-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  animation: popIn 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}
.popup-success .ok-circle svg {
  width: 28px;
  height: 28px;
}
.popup-success h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.popup-success p {
  color: var(--muted);
  font-size: 14.5px;
}

@media (max-width: 640px) {
  .popup-body {
    padding: 22px 20px 26px;
  }
  .popup-title {
    font-size: 17px;
  }
  .popup-pdf-books {
    gap: 10px;
  }
  .popup-book-cover {
    min-height: 110px;
    padding: 12px;
  }
  .popup-book-logo {
    font-size: 18px;
  }
  .popup-book-text {
    font-size: 11px;
  }
}

/* ============================================================
   CONSULTATION SECTION
   ============================================================ */
.consult {
  padding: 80px 0 100px;
  background: #fff;
  overflow: hidden;
}

.consult-grid {
  display: grid;
  grid-template-columns: 1fr 420px 380px;
  gap: 0;
  align-items: center;
  position: relative;
}

/* ---------- LEFT ---------- */
.consult-left {
  padding-right: 40px;
}

.consult-question {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 16px;
}

.consult-title {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 28px;
  font-family: 'Manrope', sans-serif;
}

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

.consult-list-label {
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.5;
}

.consult-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.consult-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  line-height: 1.5;
}

.consult-dot {
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 7px;
}

/* ---------- CENTER: PERSON ---------- */
.consult-person {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 580px;
}

.consult-person-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: filter 0.35s ease;
}
.consult-person-photo:hover {
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.28));
}

.consult-person-caption {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 62%;
  margin-left: 30px;
  margin-bottom: 10px;
}

.consult-bubble-bg {
  width: 100%;
  display: block;
}

.consult-person-name {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  font-size: 20px;
  font-weight: 500;
  color: #000;
  font-family: 'Manrope', sans-serif;
  white-space: nowrap;
}

.consult-person-tag-bg {
  width: 85%;
  margin: -8px auto 0;
  display: block;
}

.consult-person-role {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  font-size: 14px;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  white-space: nowrap;
}

/* ---------- RIGHT: FORM ---------- */
.consult-form-wrap {
  padding-left: 40px;
}

.consult-form-desc {
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 28px;
  font-family: 'Manrope', sans-serif;
}

.consult-field-group {
  margin-bottom: 16px;
}

.consult-field-label {
  display: block;
  font-size: 14px;
  color: #9aa4b0;
  font-weight: 400;
  margin-bottom: 6px;
  font-family: 'Manrope', sans-serif;
}

/* Select */
.consult-select-wrap {
  position: relative;
}
.consult-select {
  width: 100%;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 40px 0 16px;
  font-size: 16px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.consult-select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(103, 184, 96, 0.15);
}
.consult-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  pointer-events: none;
}

/* Phone input */
.consult-phone-wrap {
  display: flex;
  align-items: center;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.consult-phone-wrap:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(103, 184, 96, 0.15);
}
.consult-phone-flag {
  padding: 0 8px 0 14px;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}
.consult-phone-code {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  padding-right: 4px;
  flex-shrink: 0;
}
.consult-phone-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  color: #7a7a7a;
  background: transparent;
  padding: 0 12px 0 0;
}
.consult-phone-input::placeholder {
  color: #7a7a7a;
  opacity: 0.7;
}

.consult-phone-error {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 5px;
  display: none;
  font-weight: 600;
}
.consult-phone-error.show {
  display: block;
}

/* Submit button */
.consult-submit {
  width: 100%;
  height: 56px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 4px;
  margin-bottom: 14px;
  padding: 0 20px;
  border: none;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
  box-shadow: 0 8px 20px rgba(103, 184, 96, 0.28);
}
.consult-submit:hover {
  background: var(--green-dark);
}
.consult-submit:active {
  transform: translateY(0);
}

/* Agree row */
.consult-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 400;
}
.consult-agree a {
  color: var(--muted);
  text-decoration: underline;
}
.consult-agree a:hover {
  color: var(--green);
}
.consult-agree-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--green);
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.consult-agree-check svg {
  width: 10px;
  height: 10px;
}

/* Success state */
.consult-success {
  text-align: center;
  padding: 30px 10px;
  display: none;
}
.consult-success.show {
  display: block;
}
.consult-success .ok-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  animation: popIn 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}
.consult-success .ok-circle svg {
  width: 32px;
  height: 32px;
}
.consult-success h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}
.consult-success p {
  color: var(--muted);
  font-size: 15px;
}

/* ============================================================
   RESPONSIVE — 980px
   ============================================================ */
@media (max-width: 1210px) {
  .consult {
    padding: 70px 0 80px;
  }
  .consult-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .consult-left {
    padding-right: 0;
    order: 1;
  }
  .consult-person {
    height: 420px;
    max-width: 320px;
    margin: 0 auto;
    order: 2;
  }
  .consult-form-wrap {
    padding-left: 0;
    border-left: none;
    padding-top: 40px;
    order: 3;
  }
  .consult-person-role {
    font-size: 11px;
  }
  .consult-person-name {
    top: 7px;
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .consult {
    padding: 60px 0 70px;
  }
  .consult-title {
    font-size: 30px;
  }
  .consult-person {
    height: 360px;
    max-width: 280px;
  }
  .consult-person-name {
    font-size: 16px;
    top: 4px;
  }
  .res-controls {
    margin-top: 10px;
  }
  .consult-person-role {
    font-size: 11px;
  }
  .resp {
    padding: 20px 0;
  }
}

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--green) var(--bg-soft);
}

/* Chrome / Safari / Edge */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--green-dark);
}
