:root {
  --primary: #ba0013;
  --primary-2: #e31e24;
  --bg: #f9f9f9;
  --surface: #ffffff;
  --surface-alt: #f4f3f3;
  --text: #1a1c1c;
  --muted: #5d3f3c;
  --outline: #e7bdb8;
  --shadow: 0 20px 40px rgba(26, 28, 28, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 10%, #ffffff 0%, var(--bg) 45%, #efeded 100%);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Work Sans", sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section.alt {
  background: var(--surface-alt);
}

.badge {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--primary);
}

.title {
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 3rem);
  line-height: 1.05;
}

.copy {
  line-height: 1.7;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 1.2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(26, 28, 28, 0.12);
}

.btn {
  border: 0;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 10px;
  padding: 0.84rem 1.1rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid #d5d4d4;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #ececec;
  color: var(--text);
  padding: 0.85rem 0.95rem;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  outline: none;
}

.hero {
  position: relative;
  min-height: 80vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 10, 10, 0.72) 10%, rgba(10, 10, 10, 0.28) 60%, rgba(10, 10, 10, 0.5) 100%);
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  color: #fff;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 1.6rem + 2.2vw, 4.5rem);
  line-height: 0.95;
  margin: 0.8rem 0 1.1rem;
}

.hero-content p {
  width: min(650px, 100%);
  line-height: 1.75;
  color: #f0f0f0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat {
  display: grid;
  gap: 0.2rem;
}

.stat strong {
  color: var(--primary);
  font: 800 2.2rem/1 "Work Sans", sans-serif;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.trust-strip div {
  text-align: center;
  padding: 0.95rem;
  background: #ffffffbe;
  border-radius: 10px;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: #505050;
}

.faq-item {
  border-bottom: 1px solid #e4e4e4;
  padding: 1rem 0;
}

.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font: 700 1rem/1.4 "Inter", sans-serif;
  padding: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-content {
  margin-top: 0.7rem;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-content {
  display: block;
}

.page-hero {
  padding-top: 7.5rem;
  padding-bottom: 2.4rem;
}

.page-hero p {
  margin-top: 1rem;
  max-width: 700px;
}

.kicker {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #1fa855;
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 18px 35px rgba(31, 168, 85, 0.45);
  z-index: 80;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 40px rgba(31, 168, 85, 0.55);
}

.whatsapp-float:active {
  transform: scale(0.95);
}

.whatsapp-float-icon {
  width: 26px;
  height: 26px;
}

/* WhatsApp Modal Styles */
.whatsapp-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
}

.whatsapp-modal.hidden {
  display: none !important;
}

.whatsapp-modal:not(.hidden) {
  display: block;
}

.whatsapp-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 17, 12, 0.22);
  backdrop-filter: blur(1px);
}

.whatsapp-modal-content {
  position: fixed;
  right: 1rem;
  bottom: 5.4rem;
  background: white;
  border-radius: 12px;
  border: 1px solid #e3efe6;
  box-shadow: 0 18px 44px rgba(16, 30, 20, 0.26);
  width: min(320px, calc(100vw - 1.4rem));
  animation: whatsappPopoverIn 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: bottom right;
  z-index: 1001;
}

@keyframes whatsappPopoverIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.whatsapp-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 1rem;
  background: linear-gradient(135deg, #1fa855 0%, #158c48 100%);
  border-radius: 11px 11px 0 0;
  color: white;
}

.whatsapp-modal-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.whatsapp-modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.45rem;
  cursor: pointer;
  padding: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.whatsapp-modal-close:hover {
  opacity: 0.8;
}

.whatsapp-modal-body {
  padding: 0.95rem 1rem;
}

.whatsapp-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.whatsapp-option-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.78rem 0.82rem;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-option-btn:hover {
  border-color: #1fa855;
  background: #f0fdf4;
  transform: translateX(4px);
}

.whatsapp-option-btn.admin:hover {
  box-shadow: 0 4px 12px rgba(31, 168, 85, 0.15);
}

.whatsapp-option-btn.sales:hover {
  box-shadow: 0 4px 12px rgba(31, 168, 85, 0.15);
}

.whatsapp-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.whatsapp-option-text {
  flex: 1;
  text-align: left;
}

.whatsapp-option-title {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.whatsapp-option-phone {
  font-size: 0.85rem;
  color: #666;
}

@media (max-width: 640px) {
  .whatsapp-modal-content {
    right: 0.45rem;
    left: 0.45rem;
    bottom: 4.65rem;
    width: auto;
    transform-origin: bottom center;
  }

  .whatsapp-modal-header {
    padding: 0.85rem 0.9rem;
  }

  .whatsapp-modal-header h3 {
    font-size: 0.93rem;
  }

  .whatsapp-modal-body {
    padding: 0.8rem 0.9rem;
  }

  .whatsapp-option-btn {
    padding: 0.7rem 0.75rem;
  }

  .whatsapp-icon {
    font-size: 1.2rem;
  }

  .whatsapp-option-title {
    font-size: 0.84rem;
  }
}

.loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 99;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  animation: loadingBar 1.2s ease forwards;
}

@keyframes loadingBar {
  0% {
    width: 0;
    opacity: 1;
  }

  80% {
    width: 100%;
    opacity: 1;
  }

  100% {
    width: 100%;
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.cols-3,
  .grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 3.6rem 0;
  }
}
