/* Ramas del Derecho - Estilos específicos para páginas de áreas (Societario)
   Coherente con header/footer, tipografías y botones del sitio. */

/* Base */
:root {
    --soc-text: #333;
    --soc-muted: #555;
    --soc-bg: #f7f9fc;
    --soc-card: #fff;
    --soc-border: #e6e6e6;
    --soc-primary: #000;
    --soc-accent: #007bff;
    --soc-radius: 10px;
    --soc-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

body {
    color: var(--soc-text);
}

/* HERO */
.hero--soc {
    background: linear-gradient(180deg, #f3f6fb 0%, #ffffff 100%);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.hero--soc h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.hero--soc p {
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.7;
    color: var(--soc-muted);
}

.hero-buttons .button {
    background: var(--soc-accent);
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    margin: 5px;
    display: inline-block;
}

.hero-buttons .button--alt {
    background: #000;
}

/* Anchorbar de navegación interna */
.soc-anchorbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 16px 20px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.soc-anchorbar a {
    text-decoration: none;
    color: #333;
    padding: 8px 10px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #eee;
}

.soc-anchorbar a:hover {
    color: var(--soc-accent);
}

/* Secciones */
.soc-section {
    padding: 48px 20px;
    background: #fff;
}

.soc-section:nth-of-type(odd) {
    background: var(--soc-bg);
}

.soc-section h3 {
    text-align: center;
    margin-bottom: 28px;
    font-size: 1.8rem;
}

/* Grid de servicios */
.soc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .soc-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.soc-card {
    background: var(--soc-card);
    border: 1px solid var(--soc-border);
    border-radius: var(--soc-radius);
    box-shadow: var(--soc-shadow);
    padding: 18px;
}

.soc-card h4 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.soc-card p {
    color: var(--soc-muted);
    line-height: 1.6;
}

.soc-card ul {
    margin: 10px 0 0 18px;
    color: var(--soc-muted);
}

/* CTA intermedia */
.soc-cta {
    text-align: center;
    margin-top: 28px;
}

.soc-note {
    margin-top: 8px;
    color: var(--soc-muted);
}

/* Proceso */
.soc-process .soc-steps {
    max-width: 900px;
    margin: 0 auto;
    counter-reset: step;
    list-style: none;
    padding-left: 0;
}

.soc-process .soc-steps li {
    position: relative;
    padding-left: 42px;
    margin: 12px 0;
}

.soc-process .soc-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-weight: bold;
    display: grid;
    place-items: center;
}

/* FAQ */
.soc-faq details {
    max-width: 900px;
    margin: 10px auto;
    background: var(--soc-card);
    border: 1px solid var(--soc-border);
    border-radius: var(--soc-radius);
    box-shadow: var(--soc-shadow);
    padding: 12px 16px;
}

.soc-faq summary {
    cursor: pointer;
    font-weight: 600;
}

.soc-faq p {
    color: var(--soc-muted);
}

/* CTA final */
.soc-final {
    text-align: center;
}

.soc-final p {
    color: var(--soc-muted);
    max-width: 800px;
    margin: 8px auto 22px;
}

/* Utilitarios */
.minimal-button {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.minimal-button:hover {
    background-color: #222;
}