/* ============================================================
   SERVICIOS PAGE — styles
============================================================ */

/* ---- Hero ---- */
.srv-hero {
  position: relative;
  padding: 180px 0 100px;
  text-align: center;
  overflow: hidden;
}
.srv-hero-bg {
  position: absolute;
  inset: 0;
  background: url('../fotografiasvariadas/hiram-vazquez-fotografia-aerea-atardecer-nuevo-laredo-tamaulipas.jpg') center/cover no-repeat;
  z-index: 0;
}
.srv-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, oklch(0 0 0 / 0.3) 0%, oklch(0 0 0 / 0.80) 100%),
    linear-gradient(to top, oklch(0.08 0.010 72) 0%, transparent 50%);
  z-index: 1;
}
.srv-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}
.srv-hero-content .eyebrow { display: block; margin-bottom: 16px; }
.srv-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.srv-hero-desc {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 56ch;
  margin: 0 auto;
}

/* ---- Category pills ---- */
.srv-cats {
  background: var(--bg2);
  padding: 0;
  position: sticky;
  top: 72px;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
.srv-cats-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.srv-cats-inner::-webkit-scrollbar { display: none; }
.srv-cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 16px 28px;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text2);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.srv-cat-pill:hover {
  color: var(--white);
  border-bottom-color: var(--accent);
}

/* ---- Section header ---- */
.srv-section { }
.srv-section--alt { background: var(--bg2); }

.srv-section-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}
.srv-section-icon {
  width: 64px;
  height: 64px;
  background: oklch(0.70 0.12 78 / 0.10);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.srv-section-icon i {
  font-size: 1.6rem;
  color: var(--accent);
}
.srv-section-header .section-title { margin-bottom: 0; }

/* ---- Cards grid ---- */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.srv-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ---- Card ---- */
.srv-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition:
    transform var(--t-mid) var(--ease-out),
    box-shadow var(--t-mid) ease,
    border-color var(--t-mid) ease;
  position: relative;
  overflow: hidden;
}
.srv-card:hover {
  transform: translateY(-6px);
  border-color: oklch(0.70 0.12 78 / 0.35);
  box-shadow: 0 24px 48px oklch(0 0 0 / 0.45);
}
/* Highlighted card (Consultoría Política) */
.srv-card--highlight {
  border-color: oklch(0.70 0.12 78 / 0.3);
  background: oklch(0.18 0.015 72);
}
.srv-card--highlight:hover {
  border-color: oklch(0.70 0.12 78 / 0.6);
  box-shadow: 0 24px 48px oklch(0.70 0.12 78 / 0.15);
}

/* Badge */
.srv-card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: oklch(0.10 0.01 72);
  font-family: var(--ff-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.srv-card-icon {
  width: 52px;
  height: 52px;
  background: oklch(0.70 0.12 78 / 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-mid) ease, transform var(--t-mid) var(--ease-out);
  flex-shrink: 0;
}
.srv-card:hover .srv-card-icon {
  background: oklch(0.70 0.12 78 / 0.15);
  transform: scale(1.06);
}
.srv-card-icon i { font-size: 1.3rem; color: var(--accent); }

.srv-card-body { flex: 1; }
.srv-card-body h3 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  line-height: 1.1;
}
.srv-card-body p {
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.72;
  margin-bottom: 16px;
}
.srv-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.srv-list li {
  font-size: 0.82rem;
  color: var(--text2);
  padding-left: 16px;
  position: relative;
}
.srv-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

/* CTA link at bottom of card */
.srv-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 12px 0 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
  transition: gap var(--t-mid) var(--ease-out), color var(--t-fast) ease;
}
.srv-card-cta:hover {
  gap: 14px;
  color: var(--accent2);
}
.srv-card-cta i { font-size: 0.8rem; }

/* ---- CTA Final ---- */
.srv-cta {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}
.srv-cta-bg {
  position: absolute;
  inset: 0;
  background: url('../fotografiasvariadas/hiram-vazquez-fotografia-aerea-cielo-rojo-atardecer-nuevo-laredo.jpg') center/cover no-repeat;
  z-index: 0;
}
.srv-cta-overlay {
  position: absolute;
  inset: 0;
  background: oklch(0.08 0.010 72 / 0.88);
  z-index: 1;
}
.srv-cta-content {
  position: relative;
  z-index: 2;
}
.srv-cta-content .section-title { margin-bottom: 16px; }
.srv-cta-content p {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}
.srv-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .srv-section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .srv-grid { grid-template-columns: 1fr; }
  .srv-grid--2 { grid-template-columns: 1fr; }
  .srv-cats { top: 64px; }
  .srv-cat-pill { padding: 14px 20px; }
}
