.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% 28%;
  filter: saturate(0.85) contrast(1.08) brightness(0.92);
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(243, 239, 227, 0.97) 0%, rgba(243, 239, 227, 0.88) 28%, rgba(60, 58, 42, 0.28) 58%, rgba(20, 20, 12, 0.12) 100%),
    linear-gradient(180deg, rgba(20, 20, 12, 0.08) 0%, rgba(20, 20, 12, 0.32) 100%);
}


.hero {
  position: relative;
  min-height: min(820px, 88svh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 112px clamp(20px, 4vw, 48px) 54px;
}

.hero-photo-bg {
  position: absolute;
  inset: 0 -2px 0 0;
  z-index: 0;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.hero-left {
  max-width: 620px;
}



.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--text-0);
  animation: fadeUp 0.9s 0.05s var(--ease) both;
}

.hero-title-fixed,
.hero-slogan-wrap,
.hero-slogan {
  display: block;
}

.hero-title-fixed {
  color: var(--text-0);
  text-shadow:
    0 3px 14px rgba(39, 47, 24, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.32);
}

.hero-slogan-wrap {
  min-height: 1.5em;
  margin-top: 10px;
  overflow: hidden;
}

.hero-slogan {
  color: var(--accent);
  font-size: 0.62em;
  line-height: 1.18;
  letter-spacing: 0.01em;
  white-space: pre-line;
  text-shadow:
    0 2px 10px rgba(54, 66, 31, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.28);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.hero-slogan.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.hero-sub {
  margin-top: 8px;
  max-width: 62ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-1);
  animation: fadeUp 0.9s 0.12s var(--ease) both;
}

.hero-sub-break-desktop {
  display: inline;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
  width: min(760px, 100%);
  max-width: 100%;
  animation: fadeUp 0.9s 0.18s var(--ease) both;
}

.hero-stat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  min-height: 108px;
  padding: 16px 18px;
  border: 1px solid rgba(30, 35, 23, 0.2);
  border-radius: var(--radius-m);
  background: rgba(243, 239, 227, 0.24);
}

.hero-stat-icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin-top: 1px;
  color: var(--accent);
}

.hero-stat-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-stat-icon-box {
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.hero-stat-icon-check {
  stroke: currentColor;
  stroke-width: 2.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-stat-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.42;
  font-weight: 400;
  color: #11130d;
  text-wrap: pretty;
}

.hero-stat-text strong {
  font-family: inherit;
  font-weight: 700;
  color: inherit;
}

.hero-stat-break-desktop {
  display: inline;
}

.values-marquee {
  --values-gap: clamp(28px, 4vw, 56px);
  position: relative;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(86, 104, 47, 0.34);
  border-bottom: 1px solid rgba(86, 104, 47, 0.34);
  background:
    linear-gradient(90deg, rgba(86, 104, 47, 0.14), rgba(255, 255, 255, 0.28) 50%, rgba(86, 104, 47, 0.14)),
    repeating-linear-gradient(135deg, rgba(86, 104, 47, 0.025) 0 1px, transparent 1px 10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -1px 0 rgba(31, 36, 20, 0.06);
}

.values-marquee-viewport {
  overflow: hidden;
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.values-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: valuesMarqueeLeft 34s linear infinite;
}

.values-marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.values-marquee-item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.55vw, 1.3rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.075em;
  color: var(--accent);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.values-marquee-item::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: 0 var(--values-gap);
  border: 1px solid rgba(86, 104, 47, 0.72);
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

@keyframes valuesMarqueeLeft {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
  animation: fadeUp 0.9s 0.24s var(--ease) both;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background-image: var(--btn-photo, none), linear-gradient(100deg, var(--accent), var(--accent-soft));
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  color: #f8f6ec;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 30px rgba(138, 154, 79, 0.28);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(138, 154, 79, 0.4);
}

.btn-primary svg {
  transition: transform 0.3s var(--ease);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-primary--consult {
  animation: consultButtonPulse 2.8s ease-in-out infinite;
  transform-origin: center;
}

@keyframes consultButtonPulse {
  0%, 100% { scale: 1; }
  50% { scale: 1.025; }
}

.btn-secondary {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-1);
  padding: 11px 6px 4px;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn-secondary:hover {
  color: var(--text-0);
  border-color: var(--accent-soft);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(3);
    opacity: 0;
  }
}

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

@keyframes blurIn {
  from { opacity: 0; filter: blur(16px); transform: scale(1.02); }
  to { opacity: 1; filter: blur(0); transform: scale(1); }
}


.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

