/*
Theme Name: ContactoLegalChile
Theme URI: https://contactolegalchile.cl
Author: ContactoLegalChile
Author URI: https://contactolegalchile.cl
Description: Tema profesional para estudio jurídico especializado en Derecho Laboral, Penal y Migratorio en Chile. Compatible con Elementor.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: contactolegalchile
Tags: one-page, legal, elementor, ecommerce, portfolio
*/

/* ── Reset base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: #fff; color: #0b1f3a; font-family: 'DM Sans', sans-serif; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* ── CSS Variables ── */
:root {
  --gold:   #1a5fa8;
  --gold2:  #2e7dd1;
  --dark:   #0b1f3a;
  --muted:  #4a6080;
  --border: rgba(26,95,168,.18);
  --bg:     #fff;
  --bg2:    #f5f7fa;
}

/* ── WordPress alignment helpers ── */
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter{ display: block; margin: 0 auto 1rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .8rem; color: var(--muted); margin-top: .4rem; }

/* ── Skip link (accessibility) ── */
.skip-link { position: absolute; top: -999px; left: 0; background: var(--gold); color: #fff; padding: .5rem 1rem; z-index: 9999; }
.skip-link:focus { top: 0; }
