/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-pill {
  border-radius: var(--radius-pill);
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.2);
}

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

.btn-accent:hover {
  background-color: #EA580C; /* Accent dark */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

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

.btn-outline:hover {
  background-color: var(--bg-light);
  border-color: var(--text-secondary);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background-color: #20BA56;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

/* CARDS */
.card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  border-color: rgba(21, 101, 192, 0.2);
}

/* Service Card */
.card-service {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-service-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 16 / 10;
  background-color: var(--bg-light);
}

.card-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.card-service:hover .card-service-img img {
  transform: scale(1.05);
}

.card-service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card-service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-top: auto;
}

.card-service-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

/* Feature Card */
.card-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.card-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: rgba(21, 101, 192, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-feature-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.card-feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.card-feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Testimonial Card */
.card-testimonial {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-testimonial-stars {
  display: flex;
  gap: 4px;
  color: #FBBF24; /* Star Yellow */
}

.card-testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.card-testimonial-text {
  font-size: 1rem;
  color: var(--text-primary);
  font-style: italic;
}

.card-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.card-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--border);
  overflow: hidden;
}

.card-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.card-testimonial-role {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* FORMS */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--white);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

.form-control::placeholder {
  color: #9CA3AF;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-checkbox input {
  margin-top: 3px;
  accent-color: var(--primary);
}

/* BADGES */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  font-size: 0.775rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary {
  background-color: rgba(21, 101, 192, 0.08);
  color: var(--primary);
}

.badge-accent {
  background-color: rgba(249, 115, 22, 0.08);
  color: var(--accent);
}

.badge-success {
  background-color: rgba(37, 211, 102, 0.08);
  color: #16A34A;
}

/* STATS */
.stat-item {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* SSS ACCORDION */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px 0;
  font-family: inherit;
}
.faq-question svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-question.active svg {
  transform: rotate(180deg);
  stroke: var(--primary);
}
.faq-question.active {
  color: var(--primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--text-secondary);
  line-height: 1.6;
}
.faq-answer-inner {
  padding: 12px 0 8px 0;
}

/* MULTI-STEP FORM */
.step-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.step-indicator::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--border);
  z-index: 1;
}
.step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-light);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition);
}
.step-item.active .step-circle {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.step-item.completed .step-circle {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}
.step-item.active .step-label {
  color: var(--primary);
}
.step-content {
  display: none;
  animation: slideUp 0.4s ease;
}
.step-content.active {
  display: block;
}
.step-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* RESPONSIVE COMPONENTS */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
