/* =============================================================================
   styles.css — Archivo Judicial de Santiago (ajs.cl)
   Adaptado a la Ley N° 21.772 (Reforma Notarial y Registral, abril 2026)
   ============================================================================= */

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Paleta */
    --navy:       #092b4c;
    --navy-light: #0e3d6b;
    --navy-pale:  #e8eef5;
    --gold:       #c49a3c;
    --gold-light: #f5e9ce;
    --text:       #1a1a2e;
    --muted:      #5a6478;
    --border:     rgba(9,43,76,0.12);
    --surface:    #f7f8fa;
    --white:      #ffffff;

    /* Estado */
    --success:    #0F6E56;
    --warning:    #b8860b;
    --danger:     #b93a3a;
    --info:       #185FA5;

    /* Radios */
    --radius-sm:  6px;
    --radius-md:  10px;
    --radius-lg:  16px;

    /* Tipografía */
    --sans:       'DM Sans', system-ui, -apple-system, sans-serif;
    --serif:      'Lora', Georgia, serif;

    /* Animación */
    --transition: 0.22s cubic-bezier(0.4,0,0.2,1);

    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(9,43,76,0.06);
    --shadow-md: 0 4px 14px rgba(9,43,76,0.08);
    --shadow-lg: 0 12px 32px rgba(9,43,76,0.12);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

/* Modo alto contraste (toggle por JS) */
body.high-contrast {
    --navy: #000000;
    --navy-light: #1a1a1a;
    --gold: #ffd700;
    --text: #000000;
    --muted: #333333;
    --border: rgba(0,0,0,0.4);
    --surface: #ffffff;
    background: #ffffff;
}

/* ============================================================
   ACCESIBILIDAD — Barra superior
============================================================ */
.ajs-a11y {
    background: #051a30;
    color: rgba(255,255,255,0.65);
    font-size: 12px;
    padding: 4px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.a11y-skip {
    color: rgba(255,255,255,0.65);
    text-decoration: underline;
    font-size: 12px;
}
.a11y-skip:focus {
    background: var(--gold);
    color: var(--navy);
    padding: 2px 8px;
    border-radius: 4px;
    outline: 2px solid #fff;
}
.a11y-controls { display: flex; gap: 6px; }
.a11y-btn {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 2px 10px;
    font-size: 11px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--sans);
    transition: background var(--transition), color var(--transition);
}
.a11y-btn:hover, .a11y-btn:focus {
    background: rgba(255,255,255,0.12);
    color: #fff;
    outline: none;
}

/* ============================================================
   TOPBAR
============================================================ */
.ajs-topbar {
    background: var(--navy);
    color: rgba(255,255,255,0.75);
    font-size: 12.5px;
    padding: 7px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.ajs-topbar a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color var(--transition);
}
.ajs-topbar a:hover { color: #fff; }
.topbar-right { display: flex; gap: 24px; align-items: center; }

/* ============================================================
   NAVBAR
============================================================ */
.ajs-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 68px;
    box-shadow: var(--shadow-sm);
}
.ajs-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.ajs-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
}
.ajs-logo-sub {
    font-size: 11px;
    color: var(--muted);
    display: block;
    font-weight: 300;
    margin-top: 2px;
    white-space: nowrap;
}
.ajs-nav-links {
    display: flex;
    gap: 26px;
    list-style: none;
    align-items: center;
}
.ajs-nav-links a {
    font-size: 13.5px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 0.01em;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}
.ajs-nav-links a:hover,
.ajs-nav-links a:focus {
    color: var(--navy);
    border-bottom-color: var(--gold);
    outline: none;
}
.ajs-nav-cta {
    background: var(--navy);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
    border-bottom: none !important;
    white-space: nowrap;
}
.ajs-nav-cta:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
    border-bottom: none !important;
}

/* Botón hamburguesa (móvil) */
.ajs-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.ajs-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: transform var(--transition), opacity var(--transition);
}
.ajs-nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.ajs-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ajs-nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ============================================================
   AVISO INFORMATIVO LEY 21.772 (banner pre-hero)
============================================================ */
.ajs-banner-ley {
    background: linear-gradient(90deg, var(--gold-light), #faf2dc);
    border-bottom: 1px solid rgba(196,154,60,0.3);
    padding: 12px 40px;
    text-align: center;
    font-size: 13px;
    color: #6d4e00;
}
.ajs-banner-ley strong { color: #4a3500; }
.ajs-banner-ley a {
    color: #6d4e00;
    text-decoration: underline;
    margin-left: 6px;
}

/* ============================================================
   HERO
============================================================ */
.ajs-hero {
    background:
        linear-gradient(to right, rgba(9,43,76,0.82) 40%, rgba(9,43,76,0.6) 100%),
        url('../../Images/AJS-fondo.jpg') center center / cover no-repeat;
    padding: 80px 40px 72px;
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.ajs-hero::before {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 420px;
    height: 420px;
    border: 60px solid rgba(196,154,60,0.08);
    border-radius: 50%;
}
.ajs-hero::after {
    content: '';
    position: absolute;
    right: 100px;
    bottom: -120px;
    width: 280px;
    height: 280px;
    border: 40px solid rgba(196,154,60,0.05);
    border-radius: 50%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(196,154,60,0.15);
    border: 1px solid rgba(196,154,60,0.3);
    color: #e8c97a;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.hero-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}
.ajs-hero h1 {
    font-family: var(--serif);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.ajs-hero h1 em {
    font-style: normal;
    color: #e8c97a;
}
.ajs-hero p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
    position: relative;
    z-index: 1;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.btn-hero-primary {
    background: var(--gold);
    color: var(--navy);
    padding: 13px 26px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
}
.btn-hero-primary:hover {
    background: #d9ab4a;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(196,154,60,0.4);
}
.btn-hero-secondary {
    background: transparent;
    color: rgba(255,255,255,0.85);
    padding: 13px 26px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.25);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
    display: inline-block;
}
.btn-hero-secondary:hover {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
    background: rgba(255,255,255,0.05);
}

/* Hero panel */
.hero-panel {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero-panel-title {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
    font-weight: 500;
}
.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.hero-stat {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: background var(--transition);
}
.hero-stat:hover { background: rgba(255,255,255,0.08); }
.hero-stat-num {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 500;
    color: #e8c97a;
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}
.hero-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}
.hero-panel-info {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hero-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}
.hero-info-row svg {
    width: 14px; height: 14px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    flex-shrink: 0;
}

/* ============================================================
   SERVICIOS / ACCIONES RÁPIDAS
============================================================ */
.ajs-actions {
    padding: 60px 40px;
    background: var(--white);
}
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}
.section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}
.section-header h2 {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--navy);
    line-height: 1.2;
}
.section-link {
    font-size: 13px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition);
}
.section-link:hover { gap: 8px; }

.actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.action-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    position: relative;
    overflow: hidden;
}
.action-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--card-accent, var(--navy));
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}
.action-card:hover::before { transform: scaleX(1); }
.action-card:hover {
    border-color: rgba(9,43,76,0.25);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.action-card.c1 { --card-accent: #185FA5; }
.action-card.c2 { --card-accent: #3B6D11; }
.action-card.c3 { --card-accent: #0F6E56; }
.action-card.c4 { --card-accent: #854F0B; }

.action-icon-wrap {
    width: 46px; height: 46px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.action-icon-wrap svg { width: 22px; height: 22px; }
.ai-blue  { background: #E6F1FB; }
.ai-green { background: #EAF3DE; }
.ai-teal  { background: #E1F5EE; }
.ai-amber { background: #FAEEDA; }

.action-card h3 {
    font-size: 15px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.35;
}
.action-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    flex: 1;
}
.action-link {
    margin-top: 18px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.7;
    transition: opacity var(--transition), gap var(--transition);
}
.action-card:hover .action-link { opacity: 1; gap: 8px; }

/* ============================================================
   TARIFAS — Nueva sección obligatoria (Ley 21.772)
============================================================ */
.ajs-tarifas {
    padding: 64px 40px;
    background: var(--surface);
    border-top: 1px solid var(--border);
}
.tarifas-intro {
    max-width: 720px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.8;
    margin-bottom: 28px;
}
.tarifas-table-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.tarifas-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.tarifas-table thead {
    background: var(--navy);
    color: #fff;
}
.tarifas-table th {
    text-align: left;
    padding: 14px 20px;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.tarifas-table th:last-child { text-align: right; }
.tarifas-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}
.tarifas-table tbody tr:last-child { border-bottom: none; }
.tarifas-table tbody tr:hover { background: var(--navy-pale); }
.tarifas-table td {
    padding: 14px 20px;
    color: var(--text);
    vertical-align: middle;
}
.tarifas-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
}
.tarifa-detalle {
    font-size: 12px;
    color: var(--muted);
    display: block;
    margin-top: 2px;
}
.tarifas-foot {
    background: var(--navy-pale);
    padding: 14px 20px;
    font-size: 12.5px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.tarifa-badge {
    display: inline-block;
    background: var(--success);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* ============================================================
   ABOUT
============================================================ */
.ajs-about {
    background: var(--white);
    padding: 72px 40px;
    border-top: 1px solid var(--border);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-text .section-label { display: block; margin-bottom: 10px; }
.about-text h2 {
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 400;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 20px;
}
.about-text p {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 24px;
}
.about-text h3 {
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 14px;
}
.func-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.func-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--muted);
    padding: 10px 14px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.func-bullet {
    width: 8px; height: 8px;
    border-radius: 2px;
    background: var(--gold);
    flex-shrink: 0;
}

.about-media {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.video-wrapper {
    background: var(--navy);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    box-shadow: var(--shadow-md);
}
.video-wrapper iframe,
.video-wrapper img {
    width: 100%; height: 100%;
    border: none;
    display: block;
    object-fit: cover;
}
.about-cta-card {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.about-cta-card p {
    font-family: var(--serif);
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
}
.about-cta-card a {
    background: var(--gold);
    color: var(--navy);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--transition);
    flex-shrink: 0;
}
.about-cta-card a:hover { background: #d9ab4a; }

/* ============================================================
   TRANSPARENCIA — Nueva sección Ley 21.772
============================================================ */
.ajs-transparencia {
    padding: 64px 40px;
    background: var(--surface);
    border-top: 1px solid var(--border);
}
.transp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}
.transp-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: box-shadow var(--transition), transform var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}
.transp-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.transp-card-icon {
    width: 40px; height: 40px;
    border-radius: 8px;
    background: var(--navy-pale);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.transp-card-icon svg {
    width: 20px; height: 20px;
    stroke: var(--navy);
    fill: none;
    stroke-width: 2;
}
.transp-card h4 {
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 6px;
    font-weight: 500;
}
.transp-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

/* ============================================================
   FRANJA INFORMATIVA LEY 21.772
============================================================ */
.ajs-ley {
    background: var(--navy);
    color: #fff;
    padding: 32px 40px;
}
.ley-inner {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 24px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.ley-icon {
    width: 48px; height: 48px;
    background: rgba(196,154,60,0.15);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
}
.ley-icon svg { width: 24px; height: 24px; }
.ley-text strong {
    display: block;
    font-family: var(--serif);
    font-size: 16px;
    color: #e8c97a;
    margin-bottom: 4px;
    font-weight: 500;
}
.ley-text p {
    font-size: 13.5px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
}
.ley-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.ley-btn {
    background: var(--gold);
    color: var(--navy);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--transition);
}
.ley-btn:hover { background: #d9ab4a; }
.ley-btn-ghost {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.25);
}
.ley-btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* ============================================================
   FRANJA DE CONTACTO
============================================================ */
.ajs-contact-strip {
    padding: 0 40px;
    background: var(--white);
}
.contact-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transform: translateY(-36px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}
.contact-item {
    padding: 24px 26px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-right: 1px solid var(--border);
    transition: background var(--transition);
}
.contact-item:last-child { border-right: none; }
.contact-item:hover { background: var(--surface); }
.contact-icon {
    width: 36px; height: 36px;
    background: var(--navy-pale);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-icon svg { width: 16px; height: 16px; fill: none; stroke: var(--navy); stroke-width: 2; }
.contact-label {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
    display: block;
}
.contact-value {
    font-size: 13.5px;
    color: var(--navy);
    font-weight: 400;
    line-height: 1.45;
}

/* ============================================================
   UBICACIÓN / MAPA
============================================================ */
.ajs-location {
    padding: 20px 40px 72px;
    background: var(--white);
}
.location-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    margin-top: 32px;
    align-items: stretch;
}
.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    min-height: 360px;
    box-shadow: var(--shadow-sm);
}
.map-embed iframe {
    width: 100%; height: 100%;
    min-height: 360px;
    display: block;
    border: none;
}
.location-aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.location-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.loc-icon {
    width: 36px; height: 36px;
    background: var(--navy);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.loc-icon svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; }
.loc-label {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
    display: block;
}
.loc-value { font-size: 14px; color: var(--text); line-height: 1.5; }

/* ============================================================
   FOOTER
============================================================ */
.ajs-footer {
    background: var(--navy);
    padding: 48px 40px 28px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 28px;
}
.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-emblem {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.footer-emblem svg { width: 20px; height: 20px; }
.footer-name {
    font-family: var(--serif);
    font-size: 15px;
    color: #fff;
    line-height: 1.3;
}
.footer-sub-name {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}
.footer-about {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    max-width: 320px;
}
.footer-col h4 {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a, .footer-col ul span {
    font-size: 13.5px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color var(--transition);
}
.footer-col ul a:hover { color: #e8c97a; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
    .ajs-nav-links { gap: 18px; }
    .ajs-nav-links a { font-size: 12.5px; }
}

@media (max-width: 1024px) {
    .ajs-a11y, .ajs-topbar, .ajs-banner-ley { padding-left: 24px; padding-right: 24px; }
    .ajs-nav { padding: 0 24px; }
    .ajs-nav-toggle { display: flex; }
    .ajs-nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0; right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        gap: 0;
        padding: 12px 24px;
        box-shadow: var(--shadow-md);
    }
    .ajs-nav-links.is-open { display: flex; }
    .ajs-nav-links li { width: 100%; }
    .ajs-nav-links a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }
    .ajs-hero { padding: 56px 24px; grid-template-columns: 1fr; }
    .hero-panel { display: none; }
    .ajs-actions, .ajs-tarifas, .ajs-transparencia { padding: 48px 24px; }
    .actions-grid { grid-template-columns: repeat(2, 1fr); }
    .transp-grid { grid-template-columns: repeat(2, 1fr); }
    .ajs-about { padding: 56px 24px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .ajs-contact-strip { padding: 0 24px; }
    .contact-strip-inner { grid-template-columns: repeat(2, 1fr); }
    .contact-item:nth-child(2) { border-right: none; }
    .contact-item:nth-child(3) { border-top: 1px solid var(--border); }
    .contact-item:nth-child(4) { border-top: 1px solid var(--border); }
    .ajs-location { padding: 20px 24px 56px; }
    .location-grid { grid-template-columns: 1fr; }
    .ajs-ley { padding: 28px 24px; }
    .ley-inner { grid-template-columns: 1fr; gap: 16px; text-align: center; justify-items: center; }
    .ley-actions { justify-content: center; flex-wrap: wrap; }
    .ajs-footer { padding: 40px 24px 24px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
    .ajs-a11y { padding: 4px 16px; font-size: 11px; }
    .a11y-controls { gap: 4px; }
    .ajs-topbar { display: none; }
    .ajs-banner-ley { padding: 10px 16px; font-size: 12px; }
    .ajs-nav { padding: 0 16px; height: 60px; }
    .ajs-logo-sub { display: none; }
    .ajs-nav-cta { display: none; }
    .ajs-nav-links { top: 60px; padding: 8px 16px; }
    .ajs-hero { padding: 40px 16px 48px; gap: 24px; }
    .ajs-hero h1 { font-size: 26px; }
    .actions-grid { grid-template-columns: 1fr; }
    .transp-grid { grid-template-columns: 1fr; }
    .ajs-actions, .ajs-tarifas, .ajs-transparencia { padding: 40px 16px; }
    .ajs-about { padding: 40px 16px; }
    .contact-strip-inner { grid-template-columns: 1fr; transform: translateY(-24px); }
    .contact-item { border-right: none; border-bottom: 1px solid var(--border); }
    .contact-item:last-child { border-bottom: none; }
    .ajs-contact-strip { padding: 0 16px; }
    .ajs-location { padding: 12px 16px 48px; }
    .ajs-ley { padding: 24px 16px; }
    .ajs-footer { padding: 36px 16px 20px; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { justify-content: center; flex-wrap: wrap; }
    .tarifas-table th, .tarifas-table td { padding: 10px 12px; font-size: 13px; }
    .about-cta-card { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   PRINT
============================================================ */
@media print {
    .ajs-a11y, .ajs-topbar, .ajs-nav, .ajs-banner-ley,
    .ajs-ley, .ajs-footer, .ajs-nav-toggle, .ley-actions { display: none !important; }
    body { color: #000; }
    a { color: #000; text-decoration: underline; }
    .ajs-hero { background: none; color: #000; padding: 20px 0; }
    .ajs-hero h1, .ajs-hero p { color: #000; }
}

/* ============================================================
   ACCESIBILIDAD — Reducción de movimiento
============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus visible para navegación con teclado */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}
