/* === ALC Abogados · componente "servicios" ===
   Reglas portadas verbatim de design/css/sections.css (líneas 157-180). NO reescribir. */

/* ===== SERVICES (dark photo cards) ===== */
.alc-srv { position: relative; background: var(--ink); padding: 80px 56px 96px; overflow: hidden; }
/* Ajuste solicitado: el cuadrado decorativo queda DENTRO de la sección (antes
   asomaba en top/right negativos y se recortaba contra el viewport). */
.alc-srv-square { position: absolute; top: 40px; right: 40px; width: 200px; height: 200px; border: 4px solid var(--accent); z-index: 1; pointer-events: none; }
.alc-srv-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 2; }
.alc-srv-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 48px; }
.alc-srv-h { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; color: var(--paper); letter-spacing: -0.022em; }
.alc-srv-cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; background: var(--accent); color: var(--ink); font-size: 15px; font-weight: 600; border-radius: 6px; transition: background .15s, transform .15s; }
.alc-srv-cta:hover { background: var(--accent-soft); transform: translateX(2px); }
.alc-srv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.alc-srv-card { position: relative; aspect-ratio: 4/3.4; border-radius: 6px; overflow: hidden; transition: transform .3s ease; }
.alc-srv-card:hover { transform: translateY(-4px); }
.alc-srv-card-bg { position: absolute; inset: 0; overflow: hidden; }
.alc-srv-card-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.alc-srv-card:hover .alc-srv-card-bg img { transform: scale(1.04); }
.alc-srv-card-tint { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,28,51,0.78) 0%, rgba(10,28,51,0.62) 100%); }
.alc-srv-card-content { position: absolute; inset: 0; padding: 28px 30px 26px; display: flex; flex-direction: column; color: var(--paper); }
.alc-srv-card-h { font-size: 26px; font-weight: 700; letter-spacing: -0.018em; line-height: 1.1; color: var(--paper); max-width: 14ch; }
.alc-srv-card-p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.85); margin-top: 16px; flex: 1; }
.alc-srv-card-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid rgba(255,255,255,0.7); color: var(--paper); font-size: 13px; font-weight: 500; border-radius: 4px; align-self: flex-start; transition: all .15s; }
.alc-srv-card-btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
@media (max-width: 1100px) { .alc-srv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .alc-srv { padding: 48px 20px 64px; } .alc-srv-head { flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 28px; } .alc-srv-h { font-size: clamp(28px, 6vw, 36px); } .alc-srv-square { width: 120px; height: 120px; top: 20px; right: 20px; } }
@media (max-width: 600px) { .alc-srv-grid { grid-template-columns: 1fr; gap: 14px; } }

