/* ===== Servicios Page Modern Styling - Tekno Service ===== */
:root {
  --tks-primary: #dc3545;
  --tks-primary-dark: #b02a37;
  --tks-dark: #0f172a;
  --tks-navy: #1e293b;
  --tks-slate: #334155;
  --tks-light-bg: #f8fafc;
  --tks-card-bg: #ffffff;
  --tks-accent-blue: #0284c7;
  --tks-accent-purple: #7c3aed;
  --tks-accent-green: #10b981;
}

body {
  background-color: var(--tks-light-bg);
  font-family: 'Montserrat', sans-serif;
}

/* Hero Section */
.servicios-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  color: #ffffff;
  padding: 4.5rem 1rem 4rem 1rem;
  border-radius: 0 0 2rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.servicios-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(220, 53, 69, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.5);
  color: #ff8080;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.servicios-hero h1 {
  font-weight: 800;
  font-size: 2.75rem;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  color: #ffffff;
}

.servicios-hero h1 span {
  background: linear-gradient(135deg, #ff4d4d 0%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.servicios-hero .lead {
  color: #e2e8f0;
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto 2rem auto;
  line-height: 1.7;
}

/* Service Cards Grid */
.section-tag {
  color: var(--tks-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-weight: 800;
  color: var(--tks-dark);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.service-card {
  background: var(--tks-card-bg);
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  padding: 2rem 1.75rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tks-primary), #f43f5e);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.12);
  border-color: rgba(220, 53, 69, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover .icon-wrapper {
  transform: scale(1.1) rotate(-3deg);
}

/* Icon Colors */
.icon-print { background: rgba(220, 53, 69, 0.12); color: var(--tks-primary); }
.icon-book { background: rgba(2, 132, 199, 0.12); color: var(--tks-accent-blue); }
.icon-lamin { background: rgba(124, 58, 237, 0.12); color: var(--tks-accent-purple); }
.icon-cricut { background: rgba(236, 72, 153, 0.12); color: #ec4899; }
.icon-code { background: rgba(16, 185, 129, 0.12); color: var(--tks-accent-green); }

.service-category-badge {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
  background: #f1f5f9;
  color: var(--tks-slate);
  display: inline-block;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.service-card h3 {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--tks-dark);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--tks-slate);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  margin-top: auto;
}

.service-features li {
  font-size: 0.9rem;
  color: #334155;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li i {
  color: var(--tks-primary);
  font-size: 0.85rem;
}

.btn-service-action {
  background: var(--tks-light-bg);
  color: var(--tks-dark);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 0.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid #cbd5e1;
  transition: all 0.25s ease;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-service-action:hover {
  background: var(--tks-primary);
  color: #ffffff;
  border-color: var(--tks-primary);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Cotizador / Calculator Widget - HIGH CONTRAST DARK MODE */
.cotizador-wrapper {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 1.5rem;
  color: #ffffff;
  padding: 3rem 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.cotizador-wrapper .text-muted {
  color: #cbd5e1 !important; /* Rule 4.4 High Contrast Fix */
}

.cotizador-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.25rem;
  padding: 2rem;
}

.form-label-custom {
  font-weight: 700;
  font-size: 0.92rem;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.form-select-custom, .form-control-custom {
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  border-radius: 0.75rem !important;
  padding: 0.75rem 1rem !important;
  font-weight: 500;
}

.form-control-custom::placeholder {
  color: #cbd5e1 !important;
  opacity: 0.9 !important;
}

.form-select-custom option {
  background-color: #0f172a !important;
  color: #ffffff !important;
}

.form-select-custom:focus, .form-control-custom:focus {
  border-color: var(--tks-primary) !important;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.35) !important;
}

.preview-quote-box {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 1rem;
  padding: 1.25rem;
  border-left: 4px solid var(--tks-primary);
  margin-top: 1.5rem;
}

.preview-quote-box p {
  color: #ffffff !important;
  font-size: 0.95rem;
}

/* Why Choose Us Section */
.why-us-section {
  padding: 4rem 0;
}

.why-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.75rem;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease;
  height: 100%;
}

.why-card:hover {
  transform: translateY(-4px);
}

.why-card .text-muted {
  color: #475569 !important;
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(220, 53, 69, 0.1);
  color: var(--tks-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .servicios-hero {
    padding: 3rem 1rem 2.5rem 1rem;
    border-radius: 0 0 1.5rem 1.5rem;
  }
  .servicios-hero h1 {
    font-size: 2rem;
  }
  .cotizador-wrapper {
    padding: 2rem 1.25rem;
  }
}
