:root {
  --red: #e63946;
  --black: #161616;
  --cream: #f6f1eb;
  --sand: #e9ded2;
  --ink: #1f1d1b;
  --green: #2d6a4f;
  --green-dark: #1b4332;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--cream), #fff 55%, var(--sand) 100%);
  min-height: 100vh;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.hidden {
  display: none;
}

.rounded {
  border-radius: 12px;
}

.border {
  border: 1px solid #d7ccc3;
}

.max-w-xs {
  max-width: 320px;
}

.max-h-48 {
  max-height: 192px;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
}

.section-lead {
  font-size: 18px;
  color: #4a4542;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

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

.btn-wa:hover {
  background: var(--green-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.nav .btn-wa {
  display: inline-flex;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
}

.brand-title {
  font-weight: 700;
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  font-weight: 600;
  font-size: 15px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 26px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  color: var(--ink);
}

.mobile-menu {
  display: none;
  padding: 0;
  background: var(--white);
  border-top: 2px solid var(--sand);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid #f0ebe5;
  transition: all 0.2s ease;
  position: relative;
}

.mobile-menu a::before {
  content: "→";
  font-size: 16px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.2s ease;
}

.mobile-menu a:hover {
  background: var(--cream);
  color: var(--red);
  padding-left: 24px;
}

.mobile-menu a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* Fixed Bottom Action Bar */
.fixed-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid #e9ded2;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  z-index: 19;
  padding: 12px 0;
}

.bottom-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  border-right: 1px solid #e9ded2;
}

.action-btn:last-child {
  border-right: none;
}

.action-btn:hover {
  background: #f6f1eb;
  color: var(--red);
}

.action-btn-icon {
  font-size: 18px;
  display: block;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  left: 16px;
  bottom: 100px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 18;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
}

.back-to-top:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(45, 106, 79, 0.4);
}

.back-to-top.visible {
  display: flex;
}

.hero {
  position: relative;
  color: var(--white);
  padding: 120px 0 110px;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.88), rgba(230, 57, 70, 0.82)),
    url("https://images.unsplash.com/photo-1581091226033-d5c48150dbaa?w=1600") center/cover no-repeat;
}

.hero-content {
  max-width: 680px;
}

.hero h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 60px);
  margin-bottom: 16px;
}

.hero p {
  font-size: clamp(16px, 2.4vw, 22px);
  margin-bottom: 24px;
  color: #f7f3f0;
}

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

.hero-note {
  margin-top: 24px;
  font-size: 14px;
  color: #f0e7e2;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.trust-card {
  background: var(--white);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.trust-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--white);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card img {
  border-radius: 16px;
}

.card h3 {
  font-size: 18px;
}

.card p {
  color: #544f4b;
  font-size: 15px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  background: var(--white);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.faq {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.faq-item h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.highlight {
  background: rgba(230, 57, 70, 0.1);
  color: var(--ink);
  padding: 24px;
  border-left: 4px solid var(--red);
  border-radius: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--sand);
  font-size: 13px;
  font-weight: 600;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.select {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #d7ccc3;
  background: var(--white);
  font-size: 15px;
}

.masonry {
  column-count: 3;
  column-gap: 20px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px;
}

.masonry-item img {
  border-radius: 12px;
  margin-bottom: 10px;
}

.form-card {
  background: var(--white);
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d7ccc3;
  font-size: 16px;
  font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(230, 57, 70, 0.4);
  border-color: var(--red);
}

label {
  font-weight: 600;
  font-size: 14px;
}

.helper {
  font-size: 12px;
  color: #6f6761;
}

.footer {
  background: var(--black);
  color: var(--white);
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.footer h4 {
  margin-bottom: 10px;
  font-size: 16px;
}

.footer p,
.footer a {
  color: #e9ded2;
  font-size: 14px;
}

.footer small {
  display: block;
  margin-top: 16px;
  color: #d0c5bb;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .nav .btn-wa {
    display: none;
  }

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

  .mobile-menu:not(.hidden) {
    display: block;
  }

  .fixed-bottom-bar {
    display: block;
  }

  body {
    padding-bottom: 80px;
  }

  .masonry {
    column-count: 2;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 96px 0 80px;
  }

  .section {
    padding: 64px 0;
  }

  .masonry {
    column-count: 1;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
