:root {
  --green: #06451f;
  --green-2: #0f5f32;
  --cream: #f7f6f2;
  --warm: #e9e6de;
  --ink: #1d1d1b;
  --muted: #6b6b66;
  --line: #d9d6ce;
  --gold: #b99a65;
  --white: #ffffff;
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Inter", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background: var(--cream);
  content: "";
  opacity: 0;
  animation: pageVeil 0.62s ease forwards;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  animation: headerDrop 0.58s ease both;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  gap: 0;
}

.brand-name {
  color: var(--green);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.brand-sub {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--green);
}

.nav-links a.active::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform-origin: left;
  animation: lineGrow 0.42s ease both;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 14px;
  color: var(--white);
  background: #128c4a;
  border: 1px solid rgba(18, 140, 74, 0.32);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.whatsapp-link:hover {
  background: #0f7b41;
  box-shadow: 0 12px 24px rgba(18, 140, 74, 0.18);
  transform: translateY(-1px);
}

.lang-toggle,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  min-width: 42px;
  padding: 0 14px;
  color: var(--green);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lang-toggle:hover,
.menu-toggle:hover {
  background: rgba(6, 69, 31, 0.06);
  border-color: rgba(6, 69, 31, 0.28);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  font-size: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(6, 69, 31, 0);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover {
  box-shadow: 0 14px 28px rgba(6, 69, 31, 0.14);
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--green);
}

.btn-primary:hover {
  background: var(--green-2);
}

.btn-secondary {
  color: var(--green);
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(6, 69, 31, 0.28);
}

.btn-gold {
  color: var(--white);
  background: var(--gold);
}

.hero {
  min-height: 650px;
  background: linear-gradient(90deg, rgba(9, 30, 18, 0.78), rgba(9, 30, 18, 0.3), rgba(9, 30, 18, 0.08)), var(--hero-image) center / cover no-repeat;
  color: var(--white);
  animation: heroFocus 1.4s ease both;
}

.hero .container {
  display: flex;
  align-items: center;
  min-height: 650px;
  padding: 86px 0;
}

.hero-content {
  width: min(680px, 100%);
}

.hero-content > * {
  opacity: 0;
  transform: translateY(22px);
  animation: riseIn 0.72s ease forwards;
}

.hero-content > *:nth-child(1) {
  animation-delay: 0.12s;
}

.hero-content > *:nth-child(2) {
  animation-delay: 0.22s;
}

.hero-content > *:nth-child(3) {
  animation-delay: 0.32s;
}

.hero-content > *:nth-child(4) {
  animation-delay: 0.42s;
}

.hero-content > *:nth-child(5) {
  animation-delay: 0.54s;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  width: min(620px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(680px, 100%);
  margin-top: 54px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
  padding: 18px;
  background: rgba(6, 69, 31, 0.58);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-stat:hover {
  background: rgba(6, 69, 31, 0.72);
  transform: translateY(-2px);
}

.hero-stat strong {
  display: block;
  font-size: 26px;
  line-height: 1.1;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--warm);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-title {
  width: min(720px, 100%);
}

.section-title h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-title p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.card:hover {
  border-color: rgba(6, 69, 31, 0.22);
  box-shadow: 0 18px 44px rgba(29, 29, 27, 0.09);
  transform: translateY(-4px);
}

.card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--warm);
  position: relative;
}

.card-image::after,
.split-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.34), transparent 80%);
  content: "";
  opacity: 0;
  transform: translateX(-80%);
  transition: opacity 0.3s ease, transform 0.7s ease;
}

.card:hover .card-image::after,
.split-media:hover::after {
  opacity: 1;
  transform: translateX(80%);
}

.card-image.wide {
  aspect-ratio: 16 / 10;
}

.card-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .card-image img {
  transform: scale(1.035);
}

.card-body {
  padding: 22px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  color: var(--green);
  background: rgba(6, 69, 31, 0.08);
  border: 1px solid rgba(6, 69, 31, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.card h3 {
  margin: 14px 0 8px;
  font-size: 21px;
  line-height: 1.25;
}

.card p,
.feature p,
.process-card p {
  margin: 0;
  color: var(--muted);
}

.feature {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.feature:hover,
.process-card:hover {
  border-color: rgba(6, 69, 31, 0.22);
  box-shadow: 0 16px 34px rgba(29, 29, 27, 0.08);
  transform: translateY(-3px);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--green);
  border-radius: 6px;
  font-size: 22px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.testimonials-section {
  background:
    linear-gradient(180deg, rgba(247, 246, 242, 0.92), rgba(247, 246, 242, 1)),
    radial-gradient(circle at 12% 20%, rgba(185, 154, 101, 0.14), transparent 30%);
}

.testimonial-card {
  position: relative;
  min-height: 100%;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.testimonial-card::before {
  position: absolute;
  top: 18px;
  right: 24px;
  color: rgba(185, 154, 101, 0.2);
  content: "”";
  font-family: Georgia, serif;
  font-size: 86px;
  line-height: 1;
}

.testimonial-card:hover {
  border-color: rgba(6, 69, 31, 0.22);
  box-shadow: 0 18px 44px rgba(29, 29, 27, 0.09);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.12em;
}

.testimonial-quote {
  position: relative;
  z-index: 1;
  margin: 18px 0 26px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
}

.testimonial-author {
  display: grid;
  gap: 3px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.testimonial-author span {
  color: var(--muted);
  font-size: 13px;
}

.testimonial-author strong {
  color: var(--green);
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.split-media {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative;
}

.split-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.split-media:hover img {
  transform: scale(1.025);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
}

.check-list li::before {
  flex: 0 0 auto;
  color: var(--gold);
  font-weight: 700;
  content: "✓";
}

.process {
  counter-reset: step;
}

.process-card {
  position: relative;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.process-card::before {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--gold);
  border-radius: 50%;
  counter-increment: step;
  content: counter(step);
  font-weight: 700;
}

.process-card h3 {
  margin: 0 0 8px;
}

.cta-band {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), #10291a);
  background-size: 140% 140%;
  animation: ctaShift 8s ease-in-out infinite alternate;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-inner h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
}

.cta-inner p {
  width: min(640px, 100%);
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero {
  min-height: 380px;
  color: var(--white);
  background: linear-gradient(90deg, rgba(9, 30, 18, 0.82), rgba(9, 30, 18, 0.32)), var(--page-image) center / cover no-repeat;
  animation: heroFocus 1.25s ease both;
}

.page-hero .container {
  display: flex;
  align-items: center;
  min-height: 380px;
  padding: 66px 0;
}

.page-hero h1,
.page-hero .eyebrow,
.page-hero p {
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn 0.7s ease forwards;
}

.page-hero h1 {
  animation-delay: 0.16s;
}

.page-hero p {
  animation-delay: 0.28s;
}

.detail-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(217, 214, 206, 0.76);
  padding-bottom: 8px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.contact-panel,
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row strong {
  display: block;
  color: var(--green);
  font-size: 14px;
}

.contact-row span {
  color: var(--muted);
}

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

.field.full {
  grid-column: 1 / -1;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--green);
}

.form-message {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--green);
  font-weight: 600;
}

.form-message[data-active="true"] {
  animation: softPop 0.36s ease both;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: #102119;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 34px;
  padding: 54px 0;
}

.footer-grid h3,
.footer-grid h4 {
  margin: 0 0 14px;
  color: var(--white);
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.86) !important;
  font-weight: 700;
}

.footer-whatsapp:hover {
  color: var(--white) !important;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.motion-ready .reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
}

.motion-ready .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.72s ease, transform 0.72s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal-on-scroll.card,
.motion-ready .reveal-on-scroll.feature,
.motion-ready .reveal-on-scroll.process-card,
.motion-ready .reveal-on-scroll.testimonial-card {
  transform: translateY(32px) scale(0.985);
}

.motion-ready .reveal-on-scroll.card.is-visible,
.motion-ready .reveal-on-scroll.feature.is-visible,
.motion-ready .reveal-on-scroll.process-card.is-visible,
.motion-ready .reveal-on-scroll.testimonial-card.is-visible {
  transform: translateY(0) scale(1);
}

@keyframes pageVeil {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

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

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFocus {
  from {
    background-size: auto, 106%;
  }
  to {
    background-size: auto, 100%;
  }
}

@keyframes lineGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes ctaShift {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@keyframes softPop {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .nav {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(29, 29, 27, 0.12);
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-quote {
    display: none;
  }

  .hero,
  .hero .container {
    min-height: 590px;
  }

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

  .split,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .cta-inner {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 21px;
  }

  .brand-sub {
    display: none;
  }

  .lang-toggle {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
  }

  .whatsapp-link {
    width: 42px;
    min-width: 42px;
    height: 38px;
    padding: 0;
    font-size: 0;
  }

  .whatsapp-link::after {
    content: "WA";
    font-size: 12px;
    font-weight: 800;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .hero {
    background-position: center;
  }

  .hero,
  .hero .container {
    min-height: 560px;
  }

  .hero .container {
    padding: 54px 0;
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
  }

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

  .section {
    padding: 64px 0;
  }

  .card-body,
  .feature,
  .process-card,
  .contact-panel,
  .form-panel {
    padding: 22px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
    padding: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .motion-ready .reveal-on-scroll,
  .hero-content > *,
  .page-hero h1,
  .page-hero .eyebrow,
  .page-hero p {
    opacity: 1 !important;
    transform: none !important;
  }
}
