/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 500;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-family);
}

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

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

/* Service Cards */
.service-card {
  background: var(--color-bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.03);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.2); /* Slight emerald border on hover */
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--color-bg-glacial);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Portfolio Cards */
.portfolio-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  group: true;
}

.portfolio-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  color: white;
}

.portfolio-card h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

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

.badge-desarrollo {
  background-color: #f59e0b; /* Amber */
  color: white;
}

/* Contact Info Box */
.contact-info {
  background: var(--color-primary);
  color: white;
  padding: 3rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.contact-info h3 {
  color: white;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-item svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
  flex-shrink: 0;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

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